DataSourceDesigner.SchemasEquivalent Method
.NET Framework 2.0
Note: This method is new in the .NET Framework version 2.0.
Provides a value that indicates whether two schemas are equal.
Namespace: System.Web.UI.Design
Assembly: System.Design (in system.design.dll)
Assembly: System.Design (in system.design.dll)
public: static bool SchemasEquivalent ( IDataSourceSchema^ schema1, IDataSourceSchema^ schema2 )
public static boolean SchemasEquivalent ( IDataSourceSchema schema1, IDataSourceSchema schema2 )
public static function SchemasEquivalent ( schema1 : IDataSourceSchema, schema2 : IDataSourceSchema ) : boolean
Parameters
- schema1
The first schema to compare (derived from the IDataSourceSchema).
- schema2
The second schema to compare.
Return Value
true, if both schemas are equivalent; otherwise, false.Comparison of the two schemas is based on the views, as well as the names and types of the fields that are contained in the views. The SchemasEquivalent method can be used without an instance of the DataSourceDesigner class.
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Show: