Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Connects to the target server.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
Syntax
'Declaration
Function Connect As Boolean
'Usage
Dim instance As ISfcConnection
Dim returnValue As Boolean
returnValue = instance.Connect()
bool Connect()
bool Connect()
abstract Connect : unit -> bool
function Connect() : boolean
Return Value
Type: Boolean
True if the connection succeeds; otherwise, false.