共用方式為


Connect 方法

Returns a SqlStoreConnection object specified by connection.

命名空間:  Microsoft.SqlServer.Management.Utility
組件:  Microsoft.SqlServer.Management.Utility (在 Microsoft.SqlServer.Management.Utility.dll 中)

語法

'宣告
Public Shared Function Connect ( _
    connection As SqlStoreConnection _
) As Utility
'用途
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