AvailabilityReplica.MemberState Property

Gets the state of the cluster member.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone)> _
Public ReadOnly Property MemberState As ClusterMemberState 
    Get
'Usage
Dim instance As AvailabilityReplica 
Dim value As ClusterMemberState 

value = instance.MemberState
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)]
public ClusterMemberState MemberState { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Expensive|SfcPropertyFlags::Standalone)]
public:
property ClusterMemberState MemberState {
    ClusterMemberState get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)>]
member MemberState : ClusterMemberState
function get MemberState () : ClusterMemberState

Property Value

Type: Microsoft.SqlServer.Management.Smo.ClusterMemberState
A cluster member state.

See Also

Reference

AvailabilityReplica Class

Microsoft.SqlServer.Management.Smo Namespace