State 属性

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

命名空间:  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

实现

IDbConnection. . :: . .State