Information.Collation Property

Gets the default collation for the instance of SQL Server.

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

Syntax

'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property Collation As String
    Get
'Usage
Dim instance As Information
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

Property Value

Type: System.String
A String value that specifies the default collation for the instance of SQL Server.