共用方式為


IServerInformation.SqlCharSet 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<DisplayDescriptionKeyAttribute("Server_SqlCharSetDesc")> _
<DisplayNameKeyAttribute("Server_SqlCharSetName")> _
ReadOnly Property SqlCharSet As Short 
    Get
'用途
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

屬性值

型別:System.Int16
The SQL character set ID from the collation ID as a tinyint.

請參閱

參考

IServerInformation 介面

Microsoft.SqlServer.Management.Smo 命名空間