共用方式為


Collation 屬性

Gets collation information for the instance of SQL Server.

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

語法

'宣告
<DisplayDescriptionKeyAttribute("Server_CollationDesc")> _
<DisplayNameKeyAttribute("Server_CollationName")> _
ReadOnly Property Collation As String
    Get
'用途
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

屬性值

型別:System. . :: . .String
String