Поделиться через


Свойство 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)