共用方式為


AvailabilityGroup.HealthCheckTimeout 屬性

Gets or sets the collection of the health check timeout for the availability group.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property HealthCheckTimeout As Integer 
    Get 
    Set
'用途
Dim instance As AvailabilityGroup 
Dim value As Integer 

value = instance.HealthCheckTimeout

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

屬性值

型別:System.Int32
The collection of the health check timeout for the availability group.

請參閱

參考

AvailabilityGroup 類別

Microsoft.SqlServer.Management.Smo 命名空間