Dela via


IServerInformation.SqlCharSet Property

Gets the SQL character set ID from the collation ID as a tinyint.

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

Syntax

'Declaration
<DisplayDescriptionKeyAttribute("Server_SqlCharSetDesc")> _
<DisplayNameKeyAttribute("Server_SqlCharSetName")> _
ReadOnly Property SqlCharSet As Short
    Get
'Usage
Dim instance As IServerInformation
Dim value As Short

value = instance.SqlCharSet
[DisplayDescriptionKeyAttribute("Server_SqlCharSetDesc")]
[DisplayNameKeyAttribute("Server_SqlCharSetName")]
short SqlCharSet { get; }
[DisplayDescriptionKeyAttribute(L"Server_SqlCharSetDesc")]
[DisplayNameKeyAttribute(L"Server_SqlCharSetName")]
property short SqlCharSet {
    short get ();
}
[<DisplayDescriptionKeyAttribute("Server_SqlCharSetDesc")>]
[<DisplayNameKeyAttribute("Server_SqlCharSetName")>]
abstract SqlCharSet : int16
function get SqlCharSet () : short

Property Value

Type: System.Int16
short