UserDefinedType.Collation 属性

Gets the collation that is associated with the alias data type.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property Collation As String 
    Get
用法
Dim instance As UserDefinedType 
Dim value As String 

value = instance.Collation
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string Collation { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ Collation {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member Collation : string
function get Collation () : String

属性值

类型:System.String
A String value that specifies the collation that is associated with the alias data type.

示例

使用数据类型

请参阅

参考

UserDefinedType 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

使用 CLR 用户定义类型

CREATE TYPE (Transact-SQL)