Поделиться через


Свойство LinkedServer.UseRemoteCollation

Gets or sets the Boolean property value that specifies whether to use the collation that is associated with the data from the linked server.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property UseRemoteCollation As Boolean 
    Get 
    Set
'Применение
Dim instance As LinkedServer 
Dim value As Boolean 

value = instance.UseRemoteCollation

instance.UseRemoteCollation = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool UseRemoteCollation { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool UseRemoteCollation {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member UseRemoteCollation : bool with get, set
function get UseRemoteCollation () : boolean 
function set UseRemoteCollation (value : boolean)

Значение свойства

Тип: System.Boolean
A Boolean value that specifies whether the collation that is associated with the data from the linked server is used or not.If True, the collation that is associated with the data from the linked server is used when sorting or comparing.If False (default), the collation that is associated with the local instance of SQL Server is used when sorting or comparing.

Примеры

Использование связанных серверов в объектах SMO

См. также

Справочник

LinkedServer Класс

Пространство имен Microsoft.SqlServer.Management.Smo

Другие ресурсы

Связанные серверы (компонент Database Engine)

sp_addlinkedserver (Transact-SQL)