BusinessLogicConnection.State 属性

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Gets a string that describes the state of the connection.

命名空间:  Microsoft.SqlServer.Replication.BusinessLogicSupport
程序集:  Microsoft.SqlServer.Replication.BusinessLogicSupport(在 Microsoft.SqlServer.Replication.BusinessLogicSupport.dll 中)

语法

声明
Public ReadOnly Property State As ConnectionState 
    Get
用法
Dim instance As BusinessLogicConnection 
Dim value As ConnectionState 

value = instance.State
public ConnectionState State { get; }
public:
virtual property ConnectionState State {
    ConnectionState get () sealed;
}
abstract State : ConnectionState 
override State : ConnectionState
final function get State () : ConnectionState

属性值

类型:System.Data.ConnectionState
The state of the connection.

实现

IDbConnection.State

请参阅

参考

BusinessLogicConnection 类

Microsoft.SqlServer.Replication.BusinessLogicSupport 命名空间