共用方式為


AvailabilityDatabase.IsPendingSecondarySuspend 屬性

Gets or sets a value that indicates whether the new primary, after a force failover, is waiting for an acknowledgement from the former primary of the suspend action.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsPendingSecondarySuspend As Boolean 
    Get
'用途
Dim instance As AvailabilityDatabase 
Dim value As Boolean 

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

屬性值

型別:System.Boolean
true if the new primary, after a force failover, is waiting for an acknowledgement from the former primary of the suspend action; otherwise, false.

請參閱

參考

AvailabilityDatabase 類別

Microsoft.SqlServer.Management.Smo 命名空間