Connect 方法

Attempts to connect to the server. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
Public Overrides Function Connect As Boolean
用法
Dim instance As SqlStoreConnection
Dim returnValue As Boolean

returnValue = instance.Connect()
public override bool Connect()
public:
virtual bool Connect() override
abstract Connect : unit -> bool 
override Connect : unit -> bool 
public override function Connect() : boolean

返回值

类型:System. . :: . .Boolean
A Boolean indicating whether the connection was successfully established. True if the connection was established. Otherwise, false.

实现

ISfcConnection. . :: . .Connect() () () ()