TSqlModel.GetModelErrors Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns all DacModelErrors that are present in the model.
public System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Dac.Model.DacModelError> GetModelErrors ();
member this.GetModelErrors : unit -> seq<Microsoft.SqlServer.Dac.Model.DacModelError>
Public Function GetModelErrors () As IEnumerable(Of DacModelError)
Returns
Exceptions
If communication with the Microsoft.SqlServer.Dac.Model.TSqlObjectService fails.
Remarks
Load the model with ThrowOnModelErrors set to false to retrieve model errors. Refer ThrowOnModelErrors for more information on model errors.