Partilhar via


Propriedade Collation

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<DisplayNameKeyAttribute("Server_CollationName")> _
<DisplayDescriptionKeyAttribute("Server_CollationDesc")> _
ReadOnly Property Collation As String
    Get
'Uso
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

Valor da propriedade

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