Metodo Connect

Connects to the target server.

Spazio dei nomi  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Sintassi

'Dichiarazione
Function Connect As Boolean
'Utilizzo
Dim instance As ISfcConnection
Dim returnValue As Boolean

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

Valore restituito

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