Share via


IModelBus.ValidateReference Method

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

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

Syntax

'Declaration
Function ValidateReference ( _
    reference As ModelBusReference, _
    validationOption As ValidateReferenceOption _
) As ReferenceStatus
ReferenceStatus ValidateReference(
    ModelBusReference reference,
    ValidateReferenceOption validationOption
)
ReferenceStatus ValidateReference(
    ModelBusReference^ reference, 
    ValidateReferenceOption validationOption
)
abstract ValidateReference : 
        reference:ModelBusReference * 
        validationOption:ValidateReferenceOption -> ReferenceStatus
function ValidateReference(
    reference : ModelBusReference, 
    validationOption : ValidateReferenceOption
) : ReferenceStatus

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Integration.ReferenceStatus
The status for the reference

.NET Framework Security

See Also

Reference

IModelBus Interface

Microsoft.VisualStudio.Modeling.Integration Namespace