MetadataObjectCollection<T,P>(ObjectType, P) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.