Condividi tramite


Metodo Connect

Returns a SqlStoreConnection object specified by connection.

Spazio dei nomi  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Sintassi

'Dichiarazione
Public Shared Function Connect ( _
    connection As SqlStoreConnection _
) As Utility
'Utilizzo
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