WizardFramework.RemovePage 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從精靈中移除一個頁面。
多載
| RemovePage(Page) |
從精靈中移除指定的頁面。 |
| RemovePage(Int32) |
從精靈中移除具有指定之識別碼的頁面。 |
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)
從精靈中移除具有指定之識別碼的頁面。
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
要移除之頁面的識別碼。
傳回
如果成功移除頁面,則為 true,如果找不到頁面或無法成功移除頁面,則為 false。