Condividi tramite


Proprietà Collation

Gets the collation used by the server.

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

Sintassi

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

Valore proprietà

Tipo: System. . :: . .String
A string value that specifies the collation.

Osservazioni

A collation encodes the rules governing the proper use of characters for either a language, such as Greek or Polish, or an alphabet, such as Latin1_General, which is the Latin alphabet used by western European languages.