LinkedServer.CollationName 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property CollationName As String 
    Get 
    Set
用法
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)

属性值

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

示例

在 SMO 中使用链接服务器

请参阅

参考

LinkedServer 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

链接服务器(数据库引擎)

sp_addlinkedserver (Transact-SQL)