WizardFramework.RemovePage Method

Definition

Removes a page from the wizard.

Overloads

RemovePage(Page)

Removes the specified page from the wizard.

RemovePage(Int32)

Removes the page that has the specified ID from the wizard.

RemovePage(Page)

Removes the specified page from the wizard.

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

Parameters

page
Page

The Page object that represents the page to remove.

Returns

true if the page is successfully removed; otherwise, false.

Applies to

RemovePage(Int32)

Removes the page that has the specified ID from the wizard.

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

Parameters

id
Int32

The ID of the page to remove.

Returns

true if the page was successfully removed; false if the page was not found, or if the page was not successfully removed.

Applies to