Share via


Server.ComparisonStyle Property

Gets the Windows comparison style of the collation.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property ComparisonStyle As Integer 
    Get
'Usage
Dim instance As Server 
Dim value As Integer 

value = instance.ComparisonStyle
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public int ComparisonStyle { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
virtual property int ComparisonStyle {
    int get () sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
abstract ComparisonStyle : int
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
override ComparisonStyle : int
final function get ComparisonStyle () : int

Property Value

Type: System.Int32
The Windows comparison style of the collation.

Implements

IServerInformation.ComparisonStyle

See Also

Reference

Server Class

Microsoft.SqlServer.Management.Smo Namespace