Clase SfcConnection
Abstract class from which SqlStoreConnection is derived. Represents a connection to a server.
Jerarquía de herencia
System. . :: . .Object
Microsoft.SqlServer.Management.Sdk.Sfc..::..SfcConnection
Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SqlStoreConnection
Espacio de nombres: Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado: Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxis
'Declaración
Public MustInherit Class SfcConnection _
Implements ISfcConnection
'Uso
Dim instance As SfcConnection
public abstract class SfcConnection : ISfcConnection
public ref class SfcConnection abstract : ISfcConnection
[<AbstractClassAttribute>]
type SfcConnection =
class
interface ISfcConnection
end
public abstract class SfcConnection implements ISfcConnection
El tipo SfcConnection expone los siguientes miembros.
Constructores
Nombre | Descripción | |
---|---|---|
SfcConnection | Initializes a new instance of the SfcConnection class. |
Arriba
Propiedades
Nombre | Descripción | |
---|---|---|
ConnectionType | Gets the SQL Server service type of the connection. | |
ConnectTimeout | Gets or sets the connection time-out period in seconds. | |
IsForceDisconnected | Gets a value indicating whether the connection has been forcibly disconnected. | |
IsOpen | Gets a value indicating whether the connection is open. | |
ServerInstance | Gets or sets the name of the target server. | |
ServerVersion | Gets or sets the SQL Server version of the target server. | |
StatementTimeout | Gets or sets the number of seconds a statement is given to run before failing with a time-out error. |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
Connect | Connects to the target server. | |
Copy | Copies the connection object. | |
Disconnect | Disconnects from the target server. | |
Equals(Object) | (Se hereda de Object.) | |
Equals(SfcConnection) | Determines whether the specified connection object is equal to the current connection object. | |
Finalize | (Se hereda de Object.) | |
ForceDisconnected | Enforces a server disconnect and ensures that connection cannot be re-opened again. | |
GetHashCode | Returns the hash code for this connection. (Invalida Object. . :: . .GetHashCode() () () ().) | |
GetType | (Se hereda de Object.) | |
MemberwiseClone | (Se hereda de Object.) | |
ToEnumeratorObject | Returns an enumerator object. | |
ToString | (Se hereda de Object.) |
Arriba
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.