Gets a collection of AdomdRestriction objects.
The following tables list the members exposed by the AdomdRestrictionCollection type.
Public Constructors
| 名称 | Description | |
|---|---|---|
| AdomdRestrictionCollection | Initializes a new instance of the AdomdRestrictionCollection class. | 
顶部
Public Properties
| 名称 | Description | |
|---|---|---|
| .gif) | Count | Gets the number of AdomdRestriction objects in the collection. | 
| .gif) | IsFixedSize | Gets a value indicating whether the AdomdRestrictionCollection has a fixed size. | 
| .gif) | IsReadOnly | Gets a value indicating whether the AdomdRestrictionCollection is read-only. | 
| .gif) | IsSynchronized | Gets a value indicating whether access to the collection is synchronized (thread safe). | 
| .gif) | 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. | 
| .gif) | SyncRoot | Gets an object that can be used to synchronize access to the collection. | 
顶部
Public Methods
(see also Protected Methods )
| 名称 | Description | |
|---|---|---|
| .gif) | Add | Overloaded. Adds an AdomdRestriction to the collection. | 
| .gif) | Clear | Removes all restrictions from the AdomdRestrictionCollection. | 
| .gif) | Contains | Determines whether a AdomdRestriction is in the AdomdRestrictionCollection. | 
| .gif) | CopyTo | Copies the elements of the AdomdRestrictionCollection collection to the specified array. | 
| .gif) | CreateObjRef | (inherited from MarshalByRefObject ) | 
| .gif) | Equals | Overloaded. (inherited from Object ) | 
| .gif) | Find | Overloaded. Gets the specified AdomdRestriction. | 
| .gif) | GetEnumerator | Gets an instance of the AdomdRestrictionCollection.Enumerator class for iterating through the collection. | 
| .gif) | GetHashCode | (inherited from Object ) | 
| .gif) | GetLifetimeService | (inherited from MarshalByRefObject ) | 
| .gif) | GetType | (inherited from Object ) | 
| .gif) | IndexOf | Returns the zero-based index of the first occurrence of a restriction in the AdomdRestrictionCollection collection. | 
| .gif) | InitializeLifetimeService | (inherited from MarshalByRefObject ) | 
| .gif) | Insert | Inserts a restriction into the AdomdRestrictionCollection collection at the specified index. | 
| .gif) .gif) | ReferenceEquals | (inherited from Object ) | 
| .gif) | Remove | Removes the first occurrence of a specific restriction from the AdomdRestrictionCollection collection. | 
| .gif) | RemoveAt | Removes the restriction at the specified index of the AdomdRestrictionCollection collection. | 
| .gif) | ToString | (inherited from Object ) | 
顶部
Protected Methods
| 名称 | Description | |
|---|---|---|
| .gif) | Finalize | (inherited from Object ) | 
| .gif) | MemberwiseClone | Overloaded. (inherited from MarshalByRefObject ) | 
顶部
Explicit Interface Implementations
顶部
请参阅
参考
AdomdRestrictionCollection Class
Microsoft.AnalysisServices.AdomdClient Namespace