共用方式為


AvailabilityGroup.FailureConditionLevel 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property FailureConditionLevel As AvailabilityGroupFailureConditionLevel 
    Get 
    Set
'用途
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)

屬性值

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

請參閱

參考

AvailabilityGroup 類別

Microsoft.SqlServer.Management.Smo 命名空間