共用方式為


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)