Connect 方法
Connects to the target server.
命名空間: Microsoft.SqlServer.Management.Common
組件: Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)
語法
'宣告
Function Connect As Boolean
'用途
Dim instance As ISfcConnection
Dim returnValue As Boolean
returnValue = instance.Connect()
bool Connect()
bool Connect()
abstract Connect : unit -> bool
function Connect() : boolean
傳回值
型別:System. . :: . .Boolean
True if the connection succeeds; otherwise, false.