SchemaCompareFileBasedModelCreator.GetModelInformation Method
When implemented in a derived class, retrieves the model information from the specified file and determines whether the file is a valid database file.
Namespace: Microsoft.Data.Schema.Tools.Compare.Schema
Assembly: Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)
Syntax
'Declaration
Public MustOverride Function GetModelInformation ( _
file As FileInfo, _
errorManager As ErrorManager _
) As SchemaCompareModelInformation
public abstract SchemaCompareModelInformation GetModelInformation(
FileInfo file,
ErrorManager errorManager
)
public:
virtual SchemaCompareModelInformation^ GetModelInformation(
FileInfo^ file,
ErrorManager^ errorManager
) abstract
abstract GetModelInformation :
file:FileInfo *
errorManager:ErrorManager -> SchemaCompareModelInformation
public abstract function GetModelInformation(
file : FileInfo,
errorManager : ErrorManager
) : SchemaCompareModelInformation
Parameters
- file
Type: System.IO.FileInfo
A FileInfo object that represents an XML file that contains the model information.
- errorManager
Type: Microsoft.Data.Schema.ErrorManager
The ErrorManager.
Return Value
Type: Microsoft.Data.Schema.Tools.Compare.Schema.SchemaCompareModelInformation
The model information if the file is a valid database file for this schema; otherwise, nulla null reference (Nothing in Visual Basic).
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
SchemaCompareFileBasedModelCreator Class
Microsoft.Data.Schema.Tools.Compare.Schema Namespace
ModelInformation