MetadataObjectCollection<T,P>(ObjectType, P) Constructor

Definition

Initializes a new collection of metadata objects.

public MetadataObjectCollection (Microsoft.AnalysisServices.Tabular.ObjectType itemType, P parent);
new Microsoft.AnalysisServices.Tabular.MetadataObjectCollection<'T, 'P (requires 'T :> Microsoft.AnalysisServices.Tabular.MetadataObject and 'P :> Microsoft.AnalysisServices.Tabular.MetadataObject)> : Microsoft.AnalysisServices.Tabular.ObjectType * 'P -> Microsoft.AnalysisServices.Tabular.MetadataObjectCollection<'T, 'P (requires 'T :> Microsoft.AnalysisServices.Tabular.MetadataObject and 'P :> Microsoft.AnalysisServices.Tabular.MetadataObject)>
Public Sub New (itemType As ObjectType, parent As P)

Parameters

itemType
ObjectType

The type of item contained in the collection (for example a collection of models, tables, or columns).

parent
P

Name of the parent object containing the collection.

Applies to