Condividi tramite


Proprietà Collation

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<DisplayDescriptionKeyAttribute("Server_CollationDesc")> _
<DisplayNameKeyAttribute("Server_CollationName")> _
ReadOnly Property Collation As String
    Get
'Utilizzo
Dim instance As IServerSetupFacet
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

Valore proprietà

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