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
- dataSchemaModel
Type: Microsoft.Data.Schema.SchemaModel.ModelStore
The model store
- names
Type: array<System.String[]
The list of names
Return Value
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Project.Utilities Namespace