Метод ISfcConnection.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.