Freigeben über


LinkedServer.CollationName-Eigenschaft

Gets or sets the name of the collation to use when sorting data from the linked server.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property CollationName As String 
    Get 
    Set
'Usage
Dim instance As LinkedServer 
Dim value As String 

value = instance.CollationName

instance.CollationName = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string CollationName { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ CollationName {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member CollationName : string with get, set
function get CollationName () : String 
function set CollationName (value : String)

Eigenschaftswert

Typ: System.String
A String value that specifies the name of the collation to use when sorting data from the linked server.

Beispiele

Verwenden von Verbindungsservern in SMO

Siehe auch

Verweis

LinkedServer Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Verbindungsserver (Datenbankmodul)

sp_addlinkedserver (Transact-SQL)