ISfcConnection Interface

Defines high-level properties and methods for server connections.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

public interface ISfcConnection

The ISfcConnection type exposes the following members.

Public propertyIsForceDisconnectedGets a Boolean value that specifies whether the connection was forcibly disconnected.
Public propertyIsOpenGets a value indicating whether the connection is open.
Public propertyServerInstanceGets or sets the name of the target server for the connection.
Public propertyServerVersionGets the SQL Server version of the target server.

Public methodConnectConnects to the target server.
Public methodCopyCopies the connection object.
Public methodDisconnectDisconnects from the target server.
Public methodForceDisconnectedForces a disconnect from the instance of SQL Server.
Public methodToEnumeratorObjectIndicates the specified object from the enumeration. Do not reference this member directly in your code. It supports the SQL Server infrastructure.