AggregationInstanceAttributeCollection.Contains Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Contains(AggregationInstanceAttribute) |
Indicates whether the collection contains the specified AggregationInstanceAttribute. |
Contains(String) |
Indicates whether the collection contains an AggregationInstanceAttribute with the specified AttributeID. |
Contains(AggregationInstanceAttribute)
Indicates whether the collection contains the specified AggregationInstanceAttribute.
public bool Contains (Microsoft.AnalysisServices.AggregationInstanceAttribute item);
override this.Contains : Microsoft.AnalysisServices.AggregationInstanceAttribute -> bool
Public Function Contains (item As AggregationInstanceAttribute) As Boolean
Parameters
The AggregationInstanceAttribute to be located.
Returns
True, if the specified AggregationInstanceAttribute is found in the collection, otherwise, false.
Applies to
Contains(String)
Indicates whether the collection contains an AggregationInstanceAttribute with the specified AttributeID.
public bool Contains (string attributeId);
override this.Contains : string -> bool
Public Function Contains (attributeId As String) As Boolean
Parameters
- attributeId
- String
The AttributeID of the AggregationInstanceAttribute to be located.
Returns
True, if the specified AggregationInstanceAttribute is found in the collection, otherwise, false.
Exceptions
The specified attributeId is a null reference (Nothing in Visual Basic).