Delen 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

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Utility.Utility
A SqlStoreConnection object

See Also

Reference

Utility Class

Microsoft.SqlServer.Management.Utility Namespace