Condividi tramite


Interfaccia ISfcConnection

Defines high-level properties and methods for server connections.

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

Sintassi

'Dichiarazione
Public Interface ISfcConnection
'Utilizzo
Dim instance As ISfcConnection
public interface ISfcConnection
public interface class ISfcConnection
type ISfcConnection =  interface end
public interface ISfcConnection

Nel tipo ISfcConnection sono esposti i membri seguenti.

Proprietà

  Nome Descrizione
Proprietà pubblica IsForceDisconnected Gets a Boolean value that specifies whether the connection was forcibly disconnected.
Proprietà pubblica IsOpen Gets a value indicating whether the connection is open.
Proprietà pubblica ServerInstance Gets or sets the name of the target server for the connection.
Proprietà pubblica ServerVersion Gets the SQL Server version of the target server.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Connect Connects to the target server.
Metodo pubblico Copy Copies the connection object.
Metodo pubblico Disconnect Disconnects from the target server.
Metodo pubblico ForceDisconnected Forces a disconnect from the instance of SQL Server.
Metodo pubblico ToEnumeratorObject Indicates the specified object from the enumeration. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. 

In alto

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.Management.Common