语言

WizardFramework.RemovePage 方法

定义

移除巫师的一页。

重载

名称 说明
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

代表要移除页面的页面对象。

返回

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 如果页面未被找到,或者页面未被成功移除。

适用于