WizardFramework.RemovePage 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
移除巫師的一頁。
多載
| 名稱 | Description |
|---|---|
| RemovePage(Page) |
從精靈中移除指定的頁面。 |
| RemovePage(Int32) |
從精靈中移除擁有指定 ID 的頁面。 |
RemovePage(Page)
從精靈中移除指定的頁面。
public:
virtual bool RemovePage(Microsoft::SqlServer::Management::SqlWizardFramework::Page ^ page);
public bool RemovePage(Microsoft.SqlServer.Management.SqlWizardFramework.Page page);
abstract member RemovePage : Microsoft.SqlServer.Management.SqlWizardFramework.Page -> bool
override this.RemovePage : Microsoft.SqlServer.Management.SqlWizardFramework.Page -> bool
Public Function RemovePage (page As Page) As Boolean
參數
- page
- Page
代表要移除頁面的 Page 物件。
傳回
true若頁面成功移除;否則,。 false
適用於
RemovePage(Int32)
從精靈中移除擁有指定 ID 的頁面。
public:
virtual bool RemovePage(int id);
public bool RemovePage(int id);
abstract member RemovePage : int -> bool
override this.RemovePage : int -> bool
Public Function RemovePage (id As Integer) As Boolean
參數
- id
- Int32
要移除的頁面 ID。
傳回
true 若頁面成功移除; false 如果頁面未被找到,或頁面未被成功移除。