Interface ISfcConnection
Defines high-level properties and methods for server connections.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxe
'Declaração
Public Interface ISfcConnection
'Uso
Dim instance As ISfcConnection
public interface ISfcConnection
public interface class ISfcConnection
type ISfcConnection = interface end
public interface ISfcConnection
O tipo ISfcConnection expõe os membros a seguir.
Propriedades
Nome | Descrição | |
---|---|---|
IsForceDisconnected | Gets a Boolean value that specifies whether the connection was forcibly disconnected. | |
IsOpen | Gets a value indicating whether the connection is open. | |
ServerInstance | Gets or sets the name of the target server for the connection. | |
ServerVersion | Gets the SQL Server version of the target server. |
Início
Métodos
Nome | Descrição | |
---|---|---|
Connect | Connects to the target server. | |
Copy | Copies the connection object. | |
Disconnect | Disconnects from the target server. | |
ForceDisconnected | Forces a disconnect from the instance of SQL Server. | |
ToEnumeratorObject | Indicates the specified object from the enumeration. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. |
Início