Freigeben über


Information.CollationID-Eigenschaft

Gets the collation ID for the instance of SQL Server.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property CollationID As Integer 
    Get
'Usage
Dim instance As Information 
Dim value As Integer 

value = instance.CollationID
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public int CollationID { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property int CollationID {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member CollationID : int
function get CollationID () : int

Eigenschaftswert

Typ: System.Int32
An Int32 value that specifies the collation ID for the instance of SQL Server.

Beispiele

Konfigurieren von SQL Server in SMO

Siehe auch

Verweis

Information Klasse

Microsoft.SqlServer.Management.Smo-Namespace