Dela via


IServerInformation.Collation Property

Gets collation information for the instance of SQL Server.

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

Syntax

'Declaration
<DisplayDescriptionKeyAttribute("Server_CollationDesc")> _
<DisplayNameKeyAttribute("Server_CollationName")> _
ReadOnly Property Collation As String
    Get
'Usage
Dim instance As IServerInformation
Dim value As String

value = instance.Collation
[DisplayDescriptionKeyAttribute("Server_CollationDesc")]
[DisplayNameKeyAttribute("Server_CollationName")]
string Collation { get; }
[DisplayDescriptionKeyAttribute(L"Server_CollationDesc")]
[DisplayNameKeyAttribute(L"Server_CollationName")]
property String^ Collation {
    String^ get ();
}
[<DisplayDescriptionKeyAttribute("Server_CollationDesc")>]
[<DisplayNameKeyAttribute("Server_CollationName")>]
abstract Collation : string
function get Collation () : String

Property Value

Type: System.String
String