SchemaCompareFileBasedModelCreator.GetModelInformation-Methode

Ruft beim Implementieren in einer abgeleiteten Klasse die Modellinformationen aus der angegebenen Datei ab und überprüft, ob die Datei eine gültige Datenbankdatei ist.

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

Parameter

Rückgabewert

Typ: Microsoft.Data.Schema.Tools.Compare.Schema.SchemaCompareModelInformation
Die Modellinformationen, wenn die Datei eine gültige Datenbankdatei für dieses Schema ist, andernfalls nullNULL-Verweis (Nothing in Visual Basic).

.NET Framework-Sicherheit

Siehe auch

Referenz

SchemaCompareFileBasedModelCreator Klasse

Microsoft.Data.Schema.Tools.Compare.Schema-Namespace

ErrorManager

ModelInformation