Méthode Utility.Connect
Returns a SqlStoreConnection object specified by connection.
Espace de noms : Microsoft.SqlServer.Management.Utility
Assembly : Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)
Syntaxe
'Déclaration
Public Shared Function Connect ( _
connection As SqlStoreConnection _
) As Utility
'Utilisation
Dim connection As SqlStoreConnection
Dim returnValue As Utility
returnValue = Utility.Connect(connection)
public static Utility Connect(
SqlStoreConnection connection
)
public:
static Utility^ Connect(
SqlStoreConnection^ connection
)
static member Connect :
connection:SqlStoreConnection -> Utility
public static function Connect(
connection : SqlStoreConnection
) : Utility
Paramètres
- connection
Type : Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection
A SqlStoreConnection object.
Valeur de retour
Type : Microsoft.SqlServer.Management.Utility.Utility
A SqlStoreConnection object