Export (0) Print
Expand All

TraceCollection Class

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

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

[GuidAttribute("2E262503-1BE3-4b58-B983-9F9108169D42")]
public sealed class TraceCollection : MajorObjectCollection

The TraceCollection type exposes the following members.

  NameDescription
Public propertyCountGets the number of ModelComponent objects in the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected propertyDemandLoadingServiceInfrastructure. (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 Trace at the specified index from the collection.
Public propertyItem[String]Gets the Trace THAT HAS the specified identifier from the collection.
Protected propertyItemsTypeGets the Type of objects that can be contained by the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public propertyParentGets the IModelComponent that contains the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected propertyPreloadableInfrastructure. (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 a Trace to the end of the collection.
Public methodAdd(String)Creates and adds a Trace, with the specified identifier, to the end of the collection.
Protected methodAdd(ModelComponent)Adds a ModelComponent to the end of the MajorObjectCollection. (Inherited from MajorObjectCollection.)
Public methodAdd(Trace)Adds a Trace to the end of the collection.
Protected methodAdd(String, IModelComponent) (Inherited from ModelComponentCollection.)
Public methodAdd(String, String)Creates and adds a Trace, with the specified name and identifier, to the end of the collection.
Protected methodAdd(ModelComponent, Boolean)Infrastructure. (Inherited from ModelComponentCollection.)
Protected methodAdd(String, IModelComponent, Boolean) (Inherited from ModelComponentCollection.)
Protected methodAddNew(String, Type)Infrastructure. (Inherited from ModelComponentCollection.)
Protected methodAddNew(String, String, Type)Infrastructure. (Inherited from ModelComponentCollection.)
Public methodCanAddInfrastructure. (Inherited from NamedComponentCollection.)
Protected methodChangeKeyInfrastructure. (Inherited from ModelComponentCollection.)
Public methodClearRemoves all elements from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodContains(String)Indicates whether the collection contains a Trace that has the specified identifier.
Protected methodContains(IModelComponent) (Inherited from ModelComponentCollection.)
Public methodContains(Trace)Indicates whether the collection contains a specified Trace.
Public methodContainsName (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.)
Protected methodEnsureLoadedInfrastructure. (Inherited from ModelComponentCollection.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFindGets the Trace that has the specified identifier from the collection.
Public methodFindByNameGets the Trace that has the specified name from the collection.
Public methodGetByNameGets the Trace that has the specified name from the collection.
Public methodGetEnumeratorReturns an enumerator that can iterate through the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodGetHashCode (Inherited from Object.)
Protected methodGetItemGets a reference to the specified component. (Inherited from ModelComponentCollection.)
Public methodGetNewID() (Inherited from NamedComponentCollection.)
Public methodGetNewID(String) (Inherited from NamedComponentCollection.)
Public methodGetNewName() (Inherited from NamedComponentCollection.)
Public methodGetNewName(String) (Inherited from NamedComponentCollection.)
Public methodGetType (Inherited from Object.)
Public methodIndexOf(String)Gets the index of a Trace that has the specified identifier.
Protected methodIndexOf(IModelComponent) (Inherited from ModelComponentCollection.)
Public methodIndexOf(Trace)Gets the index of a specified Trace.
Public methodIndexOfName (Inherited from NamedComponentCollection.)
Public methodInsert(Int32)Creates and inserts a Trace 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, Trace)Inserts a Trace into the collection at the specified index.
Public methodInsert(Int32, String)Creates and inserts a Trace, with the specified identifier, into the collection at the specified index.
Public methodInsert(Int32, String, String)Creates and inserts a Trace, with the specified name and identifier, into the collection at the specified index.
Protected methodInsert(IModelComponent, String, Int32) (Inherited from ModelComponentCollection.)
Protected methodInsert(IModelComponent, String, Int32, Boolean) (Inherited from ModelComponentCollection.)
Public methodIsValidID(String) (Inherited from NamedComponentCollection.)
Public methodIsValidID(String, String) (Inherited from NamedComponentCollection.)
Protected methodIsValidID(String, Type, String) (Inherited from NamedComponentCollection.)
Public methodIsValidName(String) (Inherited from NamedComponentCollection.)
Public methodIsValidName(String, String) (Inherited from NamedComponentCollection.)
Protected methodIsValidName(String, Type, String) (Inherited from NamedComponentCollection.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodMove(Int32, Int32)Moves a Trace at the current specified index to a new specified index in the collection.
Public methodMove(String, Int32)Moves a Trace that has the specified identifier to the specified index in the collection.
Public methodMove(Trace, Int32)Moves a Trace to a new index in the collection.
Public methodRemove(String)Removes the Trace that has the specified identifier from the collection.
Protected methodRemove(IModelComponent) (Inherited from ModelComponentCollection.)
Public methodRemove(Trace)Removes the specified Trace from the collection.
Public methodRemove(String, Boolean)Infrastructure.
Public methodRemove(Trace, Boolean)Infrastructure.
Public methodRemoveAt(Int32)Removes the IModelComponent at the specified index from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodRemoveAt(Int32, Boolean)Infrastructure. (Inherited from ModelComponentCollection.)
Public methodToString (Inherited from Object.)
Top

  NameDescription
Public eventCollectionChangedInfrastructure. (Inherited from ModelComponentCollection.)
Public eventCollectionChangingInfrastructure. (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.

Community Additions

ADD
Show:
© 2014 Microsoft