Méthode Connect

Connects to the target server.

Espace de noms :  Microsoft.SqlServer.Management.Common
Assembly :  Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)

Syntaxe

'Déclaration
Function Connect As Boolean
'Utilisation
Dim instance As ISfcConnection
Dim returnValue As Boolean

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

Valeur de retour

Type : System. . :: . .Boolean
True if the connection succeeds; otherwise, false.