다음을 통해 공유


AvailabilityReplica.ConnectionState 속성

Gets the current connection state of the availability replica.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property ConnectionState As AvailabilityReplicaConnectionState 
    Get
‘사용 방법
Dim instance As AvailabilityReplica 
Dim value As AvailabilityReplicaConnectionState 

value = instance.ConnectionState
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public AvailabilityReplicaConnectionState ConnectionState { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property AvailabilityReplicaConnectionState ConnectionState {
    AvailabilityReplicaConnectionState get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member ConnectionState : AvailabilityReplicaConnectionState
function get ConnectionState () : AvailabilityReplicaConnectionState

속성 값

유형: Microsoft.SqlServer.Management.Smo.AvailabilityReplicaConnectionState
The current connection state.

참고 항목

참조

AvailabilityReplica 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스