Disconnect Método
Disconnects from the target server.
Espacio de nombres: Microsoft.SqlServer.Management.Common
Ensamblado: Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxis
'Declaración
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 devuelto
Tipo: System. . :: . .Boolean
True if the connection succeeds; otherwise, false.