Share via


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> _
Public Property CollationName As String
    Get
    Set
'Usage
Dim instance As LinkedServer
Dim value As String

value = instance.CollationName

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