Export (0) Print
Expand All

SfcConnection Class

Abstract class from which SqlStoreConnection is derived. Represents a connection to a server.


Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

public abstract class SfcConnection : ISfcConnection

The SfcConnection type exposes the following members.

Protected methodSfcConnectionInitializes a new instance of the SfcConnection class.

Public propertyConnectionTypeGets the SQL Server service type of the connection.
Public propertyConnectTimeoutGets or sets the connection time-out period in seconds.
Public propertyIsForceDisconnectedGets a value indicating whether the connection has been forcibly disconnected.
Public propertyIsOpenGets a value indicating whether the connection is open.
Public propertyServerInstanceGets or sets the name of the target server.
Public propertyServerVersionGets or sets the SQL Server version of the target server.
Public propertyStatementTimeoutGets or sets the number of seconds a statement is given to run before failing with a time-out error.

Public methodConnectConnects to the target server.
Public methodCopyCopies the connection object.
Public methodDisconnectDisconnects from the target server.
Public methodEquals(Object) (Inherited from Object.)
Public methodEquals(SfcConnection)Determines whether the specified connection object is equal to the current connection object.
Protected methodFinalize (Inherited from Object.)
Public methodForceDisconnectedEnforces a server disconnect and ensures that connection cannot be re-opened again.
Public methodGetHashCodeReturns the hash code for this connection. (Overrides Object.GetHashCode.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToEnumeratorObjectReturns an enumerator object.
Public methodToString (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft