Share via


BusinessLogicConnection.State Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets a string that describes the state of the connection.

Namespace:  Microsoft.SqlServer.Replication.BusinessLogicSupport
Assembly:  Microsoft.SqlServer.Replication.BusinessLogicSupport (in Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)

Syntax

'Declaration
Public ReadOnly Property State As ConnectionState 
    Get
'Usage
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

Property Value

Type: System.Data.ConnectionState
The state of the connection.

Implements

IDbConnection.State

See Also

Reference

BusinessLogicConnection Class

Microsoft.SqlServer.Replication.BusinessLogicSupport Namespace