Share via


IServerInformation.ComparisonStyle Property

Gets the Comparision Style.for the instance of SQL Server.

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

Syntax

'Declaration
<DisplayDescriptionKeyAttribute("Server_ComparisonStyleDesc")> _
<DisplayNameKeyAttribute("Server_ComparisonStyleName")> _
ReadOnly Property ComparisonStyle As Integer
    Get
'Usage
Dim instance As IServerInformation
Dim value As Integer

value = instance.ComparisonStyle
[DisplayDescriptionKeyAttribute("Server_ComparisonStyleDesc")]
[DisplayNameKeyAttribute("Server_ComparisonStyleName")]
int ComparisonStyle { get; }
[DisplayDescriptionKeyAttribute(L"Server_ComparisonStyleDesc")]
[DisplayNameKeyAttribute(L"Server_ComparisonStyleName")]
property int ComparisonStyle {
    int get ();
}
[<DisplayDescriptionKeyAttribute("Server_ComparisonStyleDesc")>]
[<DisplayNameKeyAttribute("Server_ComparisonStyleName")>]
abstract ComparisonStyle : int
function get ComparisonStyle () : int

Property Value

Type: System.Int32
Int32