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
參數
- connection
型別:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SqlStoreConnection
A SqlStoreConnection object.