Edit

Share via


DataSourceDesigner.ViewSchemasEquivalent Method

Definition

Provides a value that determines whether two schema views are equal.

public:
 static bool ViewSchemasEquivalent(System::Web::UI::Design::IDataSourceViewSchema ^ viewSchema1, System::Web::UI::Design::IDataSourceViewSchema ^ viewSchema2);
public static bool ViewSchemasEquivalent (System.Web.UI.Design.IDataSourceViewSchema viewSchema1, System.Web.UI.Design.IDataSourceViewSchema viewSchema2);
static member ViewSchemasEquivalent : System.Web.UI.Design.IDataSourceViewSchema * System.Web.UI.Design.IDataSourceViewSchema -> bool
Public Shared Function ViewSchemasEquivalent (viewSchema1 As IDataSourceViewSchema, viewSchema2 As IDataSourceViewSchema) As Boolean

Parameters

viewSchema1
IDataSourceViewSchema

The first view to compare (derived from the IDataSourceViewSchema).

viewSchema2
IDataSourceViewSchema

The second view to compare.

Returns

true if both views are equivalent; otherwise, false.

Remarks

The ViewSchemasEquivalent method can be used without an instance of the DataSourceDesigner class.

Applies to

See also