共用方式為


Utility.IsUtilityControlPoint 方法

Determines whether the specified server is a utility control point (UCP).

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

語法

'宣告
Public Shared Function IsUtilityControlPoint ( _
    storeConnection As SqlStoreConnection _
) As Boolean
'用途
Dim storeConnection As SqlStoreConnection 
Dim returnValue As Boolean 

returnValue = Utility.IsUtilityControlPoint(storeConnection)
public static bool IsUtilityControlPoint(
    SqlStoreConnection storeConnection
)
public:
static bool IsUtilityControlPoint(
    SqlStoreConnection^ storeConnection
)
static member IsUtilityControlPoint : 
        storeConnection:SqlStoreConnection -> bool
public static function IsUtilityControlPoint(
    storeConnection : SqlStoreConnection
) : boolean

參數

傳回值

型別:System.Boolean
A Boolean value specifying whether the server is a UCP. If true, the server is a UCP. Otherwise, false.

請參閱

參考

Utility 類別

Microsoft.SqlServer.Management.Utility 命名空間