Utility.IsUtilityControlPoint Method
Determines whether the specified server is a utility control point (UCP).
Namespace: Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Syntax
'Declaration
Public Shared Function IsUtilityControlPoint ( _
storeConnection As SqlStoreConnection _
) As Boolean
'Usage
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
Parameters
- storeConnection
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection
A SqlStoreConnection that specifies the server to test.
Return Value
Type: System.Boolean
A Boolean value specifying whether the server is a UCP. If true, the server is a UCP. Otherwise, false.