مشاركة عبر


IServerInformation.Collation Property

Gets the collation information for the instance of SQL Server.

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

Syntax

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

Property Value

Type: System.String
The collation information for the instance of SQL Server.

See Also

Reference

IServerInformation Interface

Microsoft.SqlServer.Management.Smo Namespace