Aracılığıyla paylaş


UserDefinedType.Collation Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Bildirim
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property Collation As String
    Get
'Kullanım
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

Property Value

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

Examples

Working with Data Types

See Also

Reference

UserDefinedType Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Working with CLR User-defined Types

CREATE TYPE (Transact-SQL)