Метод 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
Параметры
- storeConnection
Тип: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SqlStoreConnection
A SqlStoreConnection that specifies the server to test.
Возвращаемое значение
Тип: System. . :: . .Boolean
A Boolean value specifying whether the server is a UCP. If true, the server is a UCP. Otherwise, false.