AvailabilityGroup.FailureConditionLevel Property

Gets or sets the failure condition level of the availability group.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property FailureConditionLevel As AvailabilityGroupFailureConditionLevel 
    Get 
    Set
'Usage
Dim instance As AvailabilityGroup 
Dim value As AvailabilityGroupFailureConditionLevel 

value = instance.FailureConditionLevel

instance.FailureConditionLevel = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public AvailabilityGroupFailureConditionLevel FailureConditionLevel { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property AvailabilityGroupFailureConditionLevel FailureConditionLevel {
    AvailabilityGroupFailureConditionLevel get ();
    void set (AvailabilityGroupFailureConditionLevel value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member FailureConditionLevel : AvailabilityGroupFailureConditionLevel with get, set
function get FailureConditionLevel () : AvailabilityGroupFailureConditionLevel 
function set FailureConditionLevel (value : AvailabilityGroupFailureConditionLevel)

Property Value

Type: Microsoft.SqlServer.Management.Smo.AvailabilityGroupFailureConditionLevel
The failure condition level of the availability group.

See Also

Reference

AvailabilityGroup Class

Microsoft.SqlServer.Management.Smo Namespace