共用方式為


DatabaseReplicaState.IsSuspended 屬性

Gets a value that indicates whether the state of the database replica is suspended.

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

語法

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

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

屬性值

型別:System.Boolean
true if the state of the database replica is suspended; otherwise, false.

請參閱

參考

DatabaseReplicaState 類別

Microsoft.SqlServer.Management.Smo 命名空間