مشاركة عبر


LinkedServer.CollationName Property

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)

Property Value

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

Examples

Using Linked Servers in SMO

See Also

Reference

LinkedServer Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Linked Servers (Database Engine)

sp_addlinkedserver (Transact-SQL)