Partager via


Méthode IsUtilityControlPoint

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

Espace de noms :  Microsoft.SqlServer.Management.Utility
Assembly :  Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)

Syntaxe

'Déclaration
Public Shared Function IsUtilityControlPoint ( _
    storeConnection As SqlStoreConnection _
) As Boolean
'Utilisation
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

Paramètres

Valeur de retour

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