ModelUtilities.GetModelElementFromNames Method

Returns a SQL model element from a list of names.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Project.Utilities
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Public Shared Function GetModelElementFromNames ( _
    dataSchemaModel As ModelStore, _
    ParamArray names As String() _
) As IModelElement
'Usage
Dim dataSchemaModel As ModelStore
Dim names As String()
Dim returnValue As IModelElement

returnValue = ModelUtilities.GetModelElementFromNames(dataSchemaModel, _
    names)
public static IModelElement GetModelElementFromNames(
    ModelStore dataSchemaModel,
    params string[] names
)
public:
static IModelElement^ GetModelElementFromNames(
    ModelStore^ dataSchemaModel, 
    ... array<String^>^ names
)
public static function GetModelElementFromNames(
    dataSchemaModel : ModelStore, 
    ... names : String[]
) : IModelElement
static member GetModelElementFromNames : 
        dataSchemaModel:ModelStore * 
        names:string[] -> IModelElement 

Parameters

Return Value

Type: Microsoft.Data.Schema.SchemaModel.IModelElement

.NET Framework Security

See Also

Reference

ModelUtilities Class

ModelUtilities Members

Microsoft.VisualStudio.Data.Schema.Project.Project.Utilities Namespace