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

'Declaration
Public Function CreateAdapter ( _
    reference As ModelBusReference _
) As ModelBusAdapter
public ModelBusAdapter CreateAdapter(
    ModelBusReference reference
)
public:
ModelBusAdapter^ CreateAdapter(
    ModelBusReference^ reference
)
member CreateAdapter : 
        reference:ModelBusReference -> ModelBusAdapter
public function CreateAdapter(
    reference : ModelBusReference
) : ModelBusAdapter

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusAdapter
The created ModelBusAdapter instance.

.NET Framework Security

See Also

Reference

ModelBusAdapterManager Class

CreateAdapter Overload

Microsoft.VisualStudio.Modeling.Integration Namespace