Share via


Utility.Connect Method

Returns a SqlStoreConnection object specified by connection.

Namespace:  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Syntax

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