AvailabilityReplica.ConnectionState-Eigenschaft
Gets the current connection state of the availability replica.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property ConnectionState As AvailabilityReplicaConnectionState
Get
'Usage
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
Eigenschaftswert
Typ: Microsoft.SqlServer.Management.Smo.AvailabilityReplicaConnectionState
The current connection state.