共用方式為


IServerInformation.ComparisonStyle 屬性

Gets the comparison style for the instance of SQL Server.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<DisplayNameKeyAttribute("Server_ComparisonStyleName")> _
<DisplayDescriptionKeyAttribute("Server_ComparisonStyleDesc")> _
ReadOnly Property ComparisonStyle As Integer 
    Get
'用途
Dim instance As IServerInformation 
Dim value As Integer 

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

屬性值

型別:System.Int32
The comparison style for the instance of SQL Server.

請參閱

參考

IServerInformation 介面

Microsoft.SqlServer.Management.Smo 命名空間