Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines high-level properties and methods for server connections.
Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
Syntax
'Declaration
Public Interface ISfcConnection
'Usage
Dim instance As ISfcConnection
public interface ISfcConnection
public interface class ISfcConnection
type ISfcConnection =  interface end
public interface ISfcConnection
The ISfcConnection type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | IsForceDisconnected | Gets a Boolean value that specifies whether the connection was forcibly disconnected. | 
| .gif) | IsOpen | Gets a value indicating whether the connection is open. | 
| .gif) | ServerInstance | Gets or sets the name of the target server for the connection. | 
| .gif) | ServerVersion | Gets the SQL Server version of the target server. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Connect | Connects to the target server. | 
| .gif) | Copy | Copies the connection object. | 
| .gif) | Disconnect | Disconnects from the target server. | 
| .gif) | ForceDisconnected | Forces a disconnect from the instance of SQL Server. | 
| .gif) | ToEnumeratorObject | Indicates the specified object from the enumeration. Do not reference this member directly in your code. It supports the SQL Server infrastructure. | 
Top