共用方式為


RestoreOptions.ClearSuspectPageTableAfterRestore 屬性

Gets or sets whether to delete entries in the suspect page table after restore.

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

語法

'宣告
Public Property ClearSuspectPageTableAfterRestore As Boolean 
    Get 
    Set
'用途
Dim instance As RestoreOptions 
Dim value As Boolean 

value = instance.ClearSuspectPageTableAfterRestore

instance.ClearSuspectPageTableAfterRestore = value
public bool ClearSuspectPageTableAfterRestore { get; set; }
public:
property bool ClearSuspectPageTableAfterRestore {
    bool get ();
    void set (bool value);
}
member ClearSuspectPageTableAfterRestore : bool with get, set
function get ClearSuspectPageTableAfterRestore () : boolean 
function set ClearSuspectPageTableAfterRestore (value : boolean)

屬性值

型別:System.Boolean
True if delete entries in the suspect page table after restore; otherwise, false.

請參閱

參考

RestoreOptions 類別

Microsoft.SqlServer.Management.Smo 命名空間