Compartir a través de


Interfaz ISfcConnection

Defines high-level properties and methods for server connections.

Espacio de nombres:  Microsoft.SqlServer.Management.Common
Ensamblado:  Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxis

'Declaración
Public Interface ISfcConnection
'Uso
Dim instance As ISfcConnection
public interface ISfcConnection
public interface class ISfcConnection
type ISfcConnection =  interface end
public interface ISfcConnection

El tipo ISfcConnection expone los siguientes miembros.

Propiedades

  Nombre Descripción
Propiedad pública IsForceDisconnected Gets a Boolean value that specifies whether the connection was forcibly disconnected.
Propiedad pública IsOpen Gets a value indicating whether the connection is open.
Propiedad pública ServerInstance Gets or sets the name of the target server for the connection.
Propiedad pública ServerVersion Gets the SQL Server version of the target server.

Arriba

Métodos

  Nombre Descripción
Método público Connect Connects to the target server.
Método público Copy Copies the connection object.
Método público Disconnect Disconnects from the target server.
Método público ForceDisconnected Forces a disconnect from the instance of SQL Server.
Método público ToEnumeratorObject Indicates the specified object from the enumeration. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. 

Arriba