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

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property Collation As String
    Get
'Usage
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.