ModelBus.ValidateReference Method (ModelBusReference, ValidateReferenceOption)

 

Validates a given reference using the corresponding adapter. This method updates the LastStatus of a reference in addition to returning it.

Namespace:   Microsoft.VisualStudio.Modeling.Integration
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll)

public ReferenceStatus ValidateReference(
	ModelBusReference reference,
	ValidateReferenceOption validationOption
)

Parameters

reference
Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReference

The reference to the adapter

validationOption
Type: Microsoft.VisualStudio.Modeling.Integration.ValidateReferenceOption

ValidateReferenceOptions

Return Value

Type: Microsoft.VisualStudio.Modeling.Integration.ReferenceStatus

The status for the reference

Return to top
Show: