Collation 属性

Gets the collation that is used by the instance of SQL Server.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<DisplayNameKeyAttribute("Server_CollationName")> _
<DisplayDescriptionKeyAttribute("Server_CollationDesc")> _
ReadOnly Property Collation As String
    Get
用法
Dim instance As IServerSetupFacet
Dim value As String

value = instance.Collation
[DisplayNameKeyAttribute("Server_CollationName")]
[DisplayDescriptionKeyAttribute("Server_CollationDesc")]
string Collation { get; }
[DisplayNameKeyAttribute(L"Server_CollationName")]
[DisplayDescriptionKeyAttribute(L"Server_CollationDesc")]
property String^ Collation {
    String^ get ();
}
[<DisplayNameKeyAttribute("Server_CollationName")>]
[<DisplayDescriptionKeyAttribute("Server_CollationDesc")>]
abstract Collation : string
function get Collation () : String

属性值

类型:System. . :: . .String
A String value that specifies the collation that is used by the instance of SQL Server.

示例

设置属性