ISfcConnection 接口
Defines high-level properties and methods for server connections.
命名空间: Microsoft.SqlServer.Management.Common
程序集: Microsoft.SqlServer.ConnectionInfo(在 Microsoft.SqlServer.ConnectionInfo.dll 中)
语法
声明
Public Interface ISfcConnection
用法
Dim instance As ISfcConnection
public interface ISfcConnection
public interface class ISfcConnection
type ISfcConnection = interface end
public interface ISfcConnection
ISfcConnection 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
IsForceDisconnected | Gets a Boolean value that specifies whether the connection was forcibly disconnected. | |
IsOpen | Gets a value indicating whether the connection is open. | |
ServerInstance | Gets or sets the name of the target server for the connection. | |
ServerVersion | Gets the SQL Server version of the target server. |
页首
方法
名称 | 说明 | |
---|---|---|
Connect | Connects to the target server. | |
Copy | Copies the connection object. | |
Disconnect | Disconnects from the target server. | |
ForceDisconnected | Forces a disconnect from the instance of SQL Server. | |
ToEnumeratorObject | Indicates the specified object from the enumeration. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 |
页首