Export (0) Print
Expand All

SfcConnection Class

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

Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcConnection
    Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection

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.

  NameDescription
Protected methodSfcConnectionInitializes a new instance of the SfcConnection class.
Top

  NameDescription
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.
Top

  NameDescription
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 ObjectGetHashCode.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToEnumeratorObjectReturns an enumerator object.
Public methodToString (Inherited from Object.)
Top

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

ADD
Show:
© 2014 Microsoft