Dela via


IServerInformation.CollationID Property

Gets the CollationID for the instance of SQL Server.

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

Syntax

'Declaration
<DisplayNameKeyAttribute("Server_CollationIDName")> _
<DisplayDescriptionKeyAttribute("Server_CollationIDDesc")> _
ReadOnly Property CollationID As Integer
    Get
'Usage
Dim instance As IServerInformation
Dim value As Integer

value = instance.CollationID
[DisplayNameKeyAttribute("Server_CollationIDName")]
[DisplayDescriptionKeyAttribute("Server_CollationIDDesc")]
int CollationID { get; }
[DisplayNameKeyAttribute(L"Server_CollationIDName")]
[DisplayDescriptionKeyAttribute(L"Server_CollationIDDesc")]
property int CollationID {
    int get ();
}
[<DisplayNameKeyAttribute("Server_CollationIDName")>]
[<DisplayDescriptionKeyAttribute("Server_CollationIDDesc")>]
abstract CollationID : int
function get CollationID () : int

Property Value

Type: System.Int32
Int32