Partager via


TSqlModel.GetModelErrors Method

Definition

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.

Applies to