Column.Collation Property
Gets or sets the default collation that is used by the column.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute> _
Public Property Collation As String
Get
Set
'Usage
Dim instance As Column
Dim value As String
value = instance.Collation
instance.Collation = value
[SfcPropertyAttribute]
public string Collation { get; set; }
[SfcPropertyAttribute]
public:
property String^ Collation {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute>]
member Collation : string with get, set
function get Collation () : String
function set Collation (value : String)
Property Value
Type: System.String
A String value that specifies the name of the default collation.
See Also