Share via


ModelBusAdapterManager.CreateAdapter Method (ModelBusReference)

 

Create a ModelBusAdapter wrapping the specified model. Throws an exception if the ModelBusAdapter cannot be created.

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

Syntax

public ModelBusAdapter CreateAdapter(
    ModelBusReference reference
)
public:
ModelBusAdapter^ CreateAdapter(
    ModelBusReference^ reference
)
member CreateAdapter : 
        reference:ModelBusReference -> ModelBusAdapter
Public Function CreateAdapter (
    reference As ModelBusReference
) As ModelBusAdapter

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusAdapter

The created ModelBusAdapter instance.

See Also

CreateAdapter Overload
ModelBusAdapterManager Class
Microsoft.VisualStudio.Modeling.Integration Namespace

Return to top