Share via


UserDefinedDataType.Collation 속성

Gets the collation assigned to the user-defined data type.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property Collation As String 
    Get
‘사용 방법
Dim instance As UserDefinedDataType 
Dim value As String 

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

속성 값

유형: System.String
A String value that specifies the collation used by the user-defined data type.

주의

The default collation is defined at a Server object level; however, individual columns and user-defined data types can have specific collations. A table that contains columns in languages with different alphabets require different collations on different columns, for example.

데이터 형식 사용

참고 항목

참조

UserDefinedDataType 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

데이터 형식(데이터베이스 엔진)

CREATE TYPE(Transact-SQL)