Partilhar via


Método Disconnect

Disconnects from the target server.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxe

'Declaração
Function Disconnect As Boolean
'Uso
Dim instance As ISfcConnection
Dim returnValue As Boolean

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

Valor de retorno

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