AvailabilityReplica.ConnectionState Propiedad
Gets the current connection state of the availability replica.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property ConnectionState As AvailabilityReplicaConnectionState
Get
'Uso
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
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo.AvailabilityReplicaConnectionState
The current connection state.