Propriété LinkedServer.CollationName

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property CollationName As String 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

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

Exemples

Utilisation de serveurs liés dans SMO

Voir aussi

Référence

LinkedServer Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Serveurs liés (Moteur de base de données)

sp_addlinkedserver (Transact-SQL)