共用方式為


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> _
Public Property UseRemoteCollation As Boolean
    Get
    Set
'用途
Dim instance As LinkedServer
Dim value As Boolean

value = instance.UseRemoteCollation

instance.UseRemoteCollation = value
[SfcPropertyAttribute]
public bool UseRemoteCollation { get; set; }
[SfcPropertyAttribute]
public:
property bool UseRemoteCollation {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute>]
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.