Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

MdxScriptCollection Class

Contains a collection of MdxScript objects. This class cannot be inherited.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
[GuidAttribute("EE8DAD06-3F96-4354-AF80-FDBEB3162685")]
public sealed class MdxScriptCollection : MajorObjectCollection

The MdxScriptCollection type exposes the following members.

  NameDescription
Public propertyCountGets the number of ModelComponent objects in the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public propertyIsFixedSizeGets a value indicating whether the ModelComponentCollection has a fixed size. (Inherited from ModelComponentCollection.)
Public propertyIsReadOnlyGets a value indicating whether the ModelComponentCollection is read-only. (Inherited from ModelComponentCollection.)
Public propertyIsSynchronizedGets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe). (Inherited from ModelComponentCollection.)
Public propertyItem[Int32]Gets the MdxScript at the specified index from the collection.
Public propertyItem[String]Gets the MdxScript, with the specified identifier, from the collection.
Public propertyParentGets the IModelComponent that contains the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public propertySyncRootGets an object that can be used to synchronize access to the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Top
  NameDescription
Public methodAdd()Creates and adds an MdxScript to the end of the collection.
Public methodAdd(String)Creates and adds an MdxScript, with the specified identifier, to the end of the collection.
Public methodAdd(MdxScript)Adds an MdxScript to the end of the collection.
Protected methodAdd(ModelComponent)Adds a ModelComponent to the end of the MajorObjectCollection. (Inherited from MajorObjectCollection.)
Public methodAdd(String, String)Creates and adds an MdxScript, with the specified name and identifier, to the end of the collection.
Protected methodAdd(ModelComponent, Boolean)Infrastructure. Adds a ModelComponent object to the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodCanAddInfrastructure. Indicates whether the collection can add a ModelComponent. (Inherited from NamedComponentCollection.)
Protected methodChangeKeyInfrastructure. Changes the specified keys to the collection. (Inherited from ModelComponentCollection.)
Public methodClearRemoves all elements from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodContains(String)Indicates whether the collection contains an MdxScript, with the specified identifier.
Public methodContains(MdxScript)Indicates whether the collection contains a specified MdxScript.
Public methodContainsNameIndicates whether the component contains its name. (Inherited from NamedComponentCollection.)
Public methodCopyToCopies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array. (Inherited from ModelComponentCollection.)
Public methodEquals (Inherited from Object.)
Public methodFindGets the MdxScript, with the specified identifier, from the collection.
Public methodFindByNameGets the MdxScript, with the specified name, from the collection.
Public methodGetByNameGets the MdxScript, with the specified name, from the collection.
Public methodGetEnumeratorReturns an enumerator that can iterate through the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetNewID()Gets a new unique ID for the component. (Inherited from NamedComponentCollection.)
Public methodGetNewID(String)Gets the value for the new unique ID. (Inherited from NamedComponentCollection.)
Public methodGetNewName()Gets a unique new name for the component. (Inherited from NamedComponentCollection.)
Public methodGetNewName(String)Gets a unique new name for the component with the specified name prefix. (Inherited from NamedComponentCollection.)
Public methodGetType (Inherited from Object.)
Public methodIndexOf(String)Gets the index of an MdxScript with the specified identifier.
Public methodIndexOf(MdxScript)Gets the index of a specified MdxScript.
Public methodIndexOfNameGets the index of the NamedComponent, identified by name, in the collection. (Inherited from NamedComponentCollection.)
Public methodInsert(Int32)Creates and inserts an MdxScript into the collection at the specified index.
Protected methodInsert(Int32, ModelComponent)Inserts a ModelComponent in the MajorObjectCollection at the specified index. (Inherited from MajorObjectCollection.)
Public methodInsert(Int32, MdxScript)Inserts an MdxScript into the collection at the specified index.
Public methodInsert(Int32, String)Creates and inserts an MdxScript, with the specified identifier, into the collection at the specified index.
Public methodInsert(Int32, String, String)Creates and inserts an MdxScript, with the specified name and identifier, into the collection at the specified index.
Public methodIsValidID(String)Determines whether the named component collection identifier is valid. (Inherited from NamedComponentCollection.)
Public methodIsValidID(String, String)Determines whether the named component collection identifier is valid. (Inherited from NamedComponentCollection.)
Public methodIsValidName(String)Determines whether the named component collection name is valid. (Inherited from NamedComponentCollection.)
Public methodIsValidName(String, String)Determines whether the named component collection name is valid. (Inherited from NamedComponentCollection.)
Protected methodIsValidName(String, Type, ModelType, Int32, String) (Inherited from NamedComponentCollection.)
Public methodMove(Int32, Int32)Moves an MdxScript at the current specified index to a new specified index in the collection.
Public methodMove(String, Int32)Moves an MdxScript, with the specified identifier, to the specified index in the collection.
Public methodMove(MdxScript, Int32)Moves an MdxScript to a new index in the collection.
Public methodRemove(String)Removes the MdxScript, with the specified identifier, from the collection.
Protected methodRemove(IModelComponent)Removes the specified IModelComponent from the collection. (Inherited from ModelComponentCollection.)
Public methodRemove(MdxScript)Removes the specified MdxScript from the collection.
Public methodRemove(String, Boolean)Infrastructure. Removes a MdxScript from this collection.
Public methodRemove(MdxScript, Boolean)Infrastructure. Removes the specified MdxScript from this collection.
Public methodRemoveAt(Int32)Removes the IModelComponent at the specified index from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodRemoveAt(Int32, Boolean)Infrastructure. Removes the IModelComponent at the specified index from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodToString (Inherited from Object.)
Top
  NameDescription
Public eventCollectionChangedInfrastructure. Occurs when the collection changes. (Inherited from ModelComponentCollection.)
Public eventCollectionChangingInfrastructure. Occurs when the collection is changing. (Inherited from ModelComponentCollection.)
Top
  NameDescription
Explicit interface implemetationPrivate methodIList.AddAdds an item to the collection. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIList.ClearRemoves all items from the collection. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIList.ContainsIndicates whether the collection contains a specific value. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIList.IndexOfDetermines the index of a specific item in the collection. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIList.InsertInserts an item to the collection at the specified index. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate propertyIList.ItemGets or sets the element at the specified index. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIList.RemoveRemoves the first occurrence of a specified object from the collection. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIList.RemoveAtRemoves the item at the specified index. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIModelComponentCollection.ContainsIndicates whether the collection contains a specific value. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIModelComponentCollection.Remove(IModelComponent)Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIModelComponentCollection.Remove(IModelComponent, Boolean)Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIOnDemandLoadableCollection.BlockOnDemandLoadSpecifies the blocked demand load. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate propertyIOnDemandLoadableCollection.LoadedGets or sets a value that indicates whether the collection is loaded. (Inherited from ModelComponentCollection.)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.