Classe MdxScriptCollection
Contains a collection of MdxScript objects. This class cannot be inherited.
Hiérarchie d'héritage
System. . :: . .Object
Microsoft.AnalysisServices. . :: . .ModelComponentCollection
Microsoft.AnalysisServices. . :: . .NamedComponentCollection
Microsoft.AnalysisServices. . :: . .MajorObjectCollection
Microsoft.AnalysisServices..::..MdxScriptCollection
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
<GuidAttribute("EE8DAD06-3F96-4354-AF80-FDBEB3162685")> _
Public NotInheritable Class MdxScriptCollection _
Inherits MajorObjectCollection
'Utilisation
Dim instance As MdxScriptCollection
[GuidAttribute("EE8DAD06-3F96-4354-AF80-FDBEB3162685")]
public sealed class MdxScriptCollection : MajorObjectCollection
[GuidAttribute(L"EE8DAD06-3F96-4354-AF80-FDBEB3162685")]
public ref class MdxScriptCollection sealed : public MajorObjectCollection
[<SealedAttribute>]
[<GuidAttribute("EE8DAD06-3F96-4354-AF80-FDBEB3162685")>]
type MdxScriptCollection =
class
inherit MajorObjectCollection
end
public final class MdxScriptCollection extends MajorObjectCollection
Le type MdxScriptCollection expose les membres suivants.
Propriétés
Nom | Description | |
---|---|---|
Count | Gets the number of ModelComponent objects in the ModelComponentCollection. (hérité de ModelComponentCollection.) | |
DemandLoadingService | Infrastructure. (hérité de ModelComponentCollection.) | |
IsFixedSize | Gets a value indicating whether the ModelComponentCollection has a fixed size. (hérité de ModelComponentCollection.) | |
IsReadOnly | Gets a value indicating whether the ModelComponentCollection is read-only. (hérité de ModelComponentCollection.) | |
IsSynchronized | Gets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe). (hérité de ModelComponentCollection.) | |
Item[ ( [ ( Int32] ) ] ) | Gets the MdxScript at the specified index from the collection. | |
Item[ ( [ ( String] ) ] ) | Gets the MdxScript, with the specified identifier, from the collection. | |
ItemsType | Gets the Type of objects that can be contained by the ModelComponentCollection. (hérité de ModelComponentCollection.) | |
Parent | Gets the IModelComponent that contains the ModelComponentCollection. (hérité de ModelComponentCollection.) | |
Preloadable | Infrastructure. (hérité de ModelComponentCollection.) | |
SyncRoot | Gets an object that can be used to synchronize access to the ModelComponentCollection. (hérité de ModelComponentCollection.) |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
Add() () () () | Creates and adds an MdxScript to the end of the collection. | |
Add(String) | Creates and adds an MdxScript, with the specified identifier, to the end of the collection. | |
Add(MdxScript) | Adds an MdxScript to the end of the collection. | |
Add(ModelComponent) | Adds a ModelComponent to the end of the MajorObjectCollection. (hérité de MajorObjectCollection.) | |
Add(String, String) | Creates and adds an MdxScript, with the specified name and identifier, to the end of the collection. | |
Add(String, IModelComponent) | (hérité de ModelComponentCollection.) | |
Add(ModelComponent, Boolean) | Infrastructure. (hérité de ModelComponentCollection.) | |
Add(String, IModelComponent, Boolean) | (hérité de ModelComponentCollection.) | |
AddNew(String, Type) | Infrastructure. (hérité de ModelComponentCollection.) | |
AddNew(String, String, Type) | Infrastructure. (hérité de ModelComponentCollection.) | |
CanAdd | Infrastructure. (hérité de NamedComponentCollection.) | |
ChangeKey | Infrastructure. (hérité de ModelComponentCollection.) | |
Clear | Removes all elements from the ModelComponentCollection. (hérité de ModelComponentCollection.) | |
Contains(String) | Indicates whether the collection contains an MdxScript, with the specified identifier. | |
Contains(IModelComponent) | (hérité de ModelComponentCollection.) | |
Contains(MdxScript) | Indicates whether the collection contains a specified MdxScript. | |
ContainsName | (hérité de NamedComponentCollection.) | |
CopyTo | Copies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array. (hérité de ModelComponentCollection.) | |
EnsureLoaded | Infrastructure. (hérité de ModelComponentCollection.) | |
Equals | (hérité de Object.) | |
Finalize | (hérité de Object.) | |
Find | Gets the MdxScript, with the specified identifier, from the collection. | |
FindByName | Gets the MdxScript, with the specified name, from the collection. | |
GetByName | Gets the MdxScript, with the specified name, from the collection. | |
GetEnumerator | Returns an enumerator that can iterate through the ModelComponentCollection. (hérité de ModelComponentCollection.) | |
GetHashCode | (hérité de Object.) | |
GetItem | Gets a reference to the specified component. (hérité de ModelComponentCollection.) | |
GetNewID() () () () | (hérité de NamedComponentCollection.) | |
GetNewID(String) | (hérité de NamedComponentCollection.) | |
GetNewName() () () () | (hérité de NamedComponentCollection.) | |
GetNewName(String) | (hérité de NamedComponentCollection.) | |
GetType | (hérité de Object.) | |
IndexOf(String) | Gets the index of an MdxScript with the specified identifier. | |
IndexOf(IModelComponent) | (hérité de ModelComponentCollection.) | |
IndexOf(MdxScript) | Gets the index of a specified MdxScript. | |
IndexOfName | (hérité de NamedComponentCollection.) | |
Insert(Int32) | Creates and inserts an MdxScript into the collection at the specified index. | |
Insert(Int32, ModelComponent) | Inserts a ModelComponent in the MajorObjectCollection at the specified index. (hérité de MajorObjectCollection.) | |
Insert(Int32, MdxScript) | Inserts an MdxScript into the collection at the specified index. | |
Insert(Int32, String) | Creates and inserts an MdxScript, with the specified identifier, into the collection at the specified index. | |
Insert(Int32, String, String) | Creates and inserts an MdxScript, with the specified name and identifier, into the collection at the specified index. | |
Insert(IModelComponent, String, Int32) | (hérité de ModelComponentCollection.) | |
Insert(IModelComponent, String, Int32, Boolean) | (hérité de ModelComponentCollection.) | |
IsValidID(String) | (hérité de NamedComponentCollection.) | |
IsValidID(String, String%) | (hérité de NamedComponentCollection.) | |
IsValidID(String, Type, String%) | (hérité de NamedComponentCollection.) | |
IsValidName(String) | (hérité de NamedComponentCollection.) | |
IsValidName(String, String%) | (hérité de NamedComponentCollection.) | |
IsValidName(String, Type, String%) | (hérité de NamedComponentCollection.) | |
MemberwiseClone | (hérité de Object.) | |
Move(Int32, Int32) | Moves an MdxScript at the current specified index to a new specified index in the collection. | |
Move(String, Int32) | Moves an MdxScript, with the specified identifier, to the specified index in the collection. | |
Move(MdxScript, Int32) | Moves an MdxScript to a new index in the collection. | |
Remove(String) | Removes the MdxScript, with the specified identifier, from the collection. | |
Remove(IModelComponent) | (hérité de ModelComponentCollection.) | |
Remove(MdxScript) | Removes the specified MdxScript from the collection. | |
Remove(String, Boolean) | Infrastructure. | |
Remove(MdxScript, Boolean) | Infrastructure. | |
RemoveAt(Int32) | Removes the IModelComponent at the specified index from the ModelComponentCollection. (hérité de ModelComponentCollection.) | |
RemoveAt(Int32, Boolean) | Infrastructure. (hérité de ModelComponentCollection.) | |
ToString | (hérité de Object.) |
Haut de la page
Événements
Nom | Description | |
---|---|---|
CollectionChanged | Infrastructure. (hérité de ModelComponentCollection.) | |
CollectionChanging | Infrastructure. (hérité de ModelComponentCollection.) |
Haut de la page
Implémentations d'interfaces explicites
Nom | Description | |
---|---|---|
IList. . :: . .Add | (hérité de ModelComponentCollection.) | |
IList. . :: . .Clear | (hérité de ModelComponentCollection.) | |
IList. . :: . .Contains | (hérité de ModelComponentCollection.) | |
IList. . :: . .IndexOf | (hérité de ModelComponentCollection.) | |
IList. . :: . .Insert | (hérité de ModelComponentCollection.) | |
IList. . :: . .Item | (hérité de ModelComponentCollection.) | |
IList. . :: . .Remove | (hérité de ModelComponentCollection.) | |
IList. . :: . .RemoveAt | (hérité de ModelComponentCollection.) | |
IModelComponentCollection. . :: . .Contains | (hérité de ModelComponentCollection.) | |
IModelComponentCollection. . :: . .Remove(IModelComponent) | (hérité de ModelComponentCollection.) | |
IModelComponentCollection. . :: . .Remove(IModelComponent, Boolean) | (hérité de ModelComponentCollection.) | |
IOnDemandLoadableCollection. . :: . .BlockOnDemandLoad | (hérité de ModelComponentCollection.) | |
IOnDemandLoadableCollection. . :: . .Loaded | (hérité de ModelComponentCollection.) |
Haut de la page
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.