Classe AdomdRestrictionCollection
Gets a collection of AdomdRestriction objects.
Hiérarchie d'héritage
System. . :: . .Object
System. . :: . .MarshalByRefObject
Microsoft.AnalysisServices.AdomdClient..::..AdomdRestrictionCollection
Espace de noms : Microsoft.AnalysisServices.AdomdClient
Assembly : Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)
Syntaxe
'Déclaration
Public NotInheritable Class AdomdRestrictionCollection _
Inherits MarshalByRefObject _
Implements IList, ICollection, IEnumerable
'Utilisation
Dim instance As AdomdRestrictionCollection
public sealed class AdomdRestrictionCollection : MarshalByRefObject,
IList, ICollection, IEnumerable
public ref class AdomdRestrictionCollection sealed : public MarshalByRefObject,
IList, ICollection, IEnumerable
[<SealedAttribute>]
type AdomdRestrictionCollection =
class
inherit MarshalByRefObject
interface IList
interface ICollection
interface IEnumerable
end
public final class AdomdRestrictionCollection extends MarshalByRefObject implements IList, ICollection, IEnumerable
Le type AdomdRestrictionCollection expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
AdomdRestrictionCollection | Initializes a new instance of the AdomdRestrictionCollection class. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
Count | Gets the number of AdomdRestriction objects in the collection. | |
IsFixedSize | Gets a value indicating whether the AdomdRestrictionCollection has a fixed size. | |
IsReadOnly | Gets a value indicating whether the AdomdRestrictionCollection is read-only. | |
IsSynchronized | Gets a value indicating whether access to the collection is synchronized (thread safe). | |
Item | Gets or sets the specified AdomdRestriction from the collection by its index. In Microsoft Visual C#, this property is the indexer for the AdomdRestrictionCollection class. | |
SyncRoot | Gets an object that can be used to synchronize access to the collection. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
Add(AdomdRestriction) | Adds an AdomdRestriction to the collection. | |
Add(String, Object) | Creates a new AdomdRestriction with the specified property name and value. | |
Add(String, String, Object) | Creates a new AdomdRestriction with the specified property name, namespace, and value. | |
Clear | Removes all restrictions from the AdomdRestrictionCollection. | |
Contains | Determines whether a AdomdRestriction is in the AdomdRestrictionCollection. | |
CopyTo | Copies the elements of the AdomdRestrictionCollection collection to the specified array. | |
CreateObjRef | (hérité de MarshalByRefObject.) | |
Equals | (hérité de Object.) | |
Finalize | (hérité de Object.) | |
Find(String) | Gets the specified AdomdRestriction from the collection by its name. | |
Find(String, String) | Gets the specified AdomdRestriction from the collection by its name and namespace. | |
GetEnumerator | Gets an instance of the AdomdRestrictionCollection..::..Enumerator class for iterating through the collection. | |
GetHashCode | (hérité de Object.) | |
GetLifetimeService | (hérité de MarshalByRefObject.) | |
GetType | (hérité de Object.) | |
IndexOf | Returns the zero-based index of the first occurrence of a restriction in the AdomdRestrictionCollection collection. | |
InitializeLifetimeService | (hérité de MarshalByRefObject.) | |
Insert | Inserts a restriction into the AdomdRestrictionCollection collection at the specified index. | |
MemberwiseClone() () () () | (hérité de Object.) | |
MemberwiseClone(Boolean) | (hérité de MarshalByRefObject.) | |
Remove | Removes the first occurrence of a specific restriction from the AdomdRestrictionCollection collection. | |
RemoveAt | Removes the restriction at the specified index of the AdomdRestrictionCollection collection. | |
ToString | (hérité de Object.) |
Haut de la page
Implémentations d'interfaces explicites
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.