Compartir a través de


Collation Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute> _
Public ReadOnly Property Collation As String
    Get
'Uso
Dim instance As UserDefinedDataType
Dim value As String

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

Valor de la propiedad

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

Notas

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.