Share via


ManagedInstance.Collation Property

Gets the collation for the server instance.

Namespace:  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property Collation As String
    Get
'Usage
Dim instance As ManagedInstance
Dim value As String

value = instance.Collation
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public string Collation { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property String^ Collation {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member Collation : string
function get Collation () : String

Property Value

Type: System.String
A String value that specifies the collation used by the managed instance.