AvailabilityReplica.OperationalState Property

Gets the value for operational state.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property OperationalState As AvailabilityReplicaOperationalState 
    Get
'Usage
Dim instance As AvailabilityReplica 
Dim value As AvailabilityReplicaOperationalState 

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.AvailabilityReplicaOperationalState
The value for operational state.

See Also

Reference

AvailabilityReplica Class

Microsoft.SqlServer.Management.Smo Namespace