AdomdParameterCollection Class
This class gets a collection of AdomdParameter objects contained in a AdomdCommand object.
Inheritance Hierarchy
Object
MarshalByRefObject
Microsoft.AnalysisServices.AdomdServer.AdomdParameterCollection
Namespace: Microsoft.AnalysisServices.AdomdServer
Assembly: msmgdsrv (in msmgdsrv.dll)
Syntax
'Declaration
Public NotInheritable Class AdomdParameterCollection _
Inherits MarshalByRefObject _
Implements IDataParameterCollection
'Usage
Dim instance As AdomdParameterCollection
public sealed class AdomdParameterCollection : MarshalByRefObject,
IDataParameterCollection
public ref class AdomdParameterCollection sealed : public MarshalByRefObject,
IDataParameterCollection
[<SealedAttribute>]
type AdomdParameterCollection =
class
inherit MarshalByRefObject
interface IDataParameterCollection
end
public final class AdomdParameterCollection extends MarshalByRefObject implements IDataParameterCollection
The AdomdParameterCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | Gets the number of AdomdParameter objects in the AdomdParameterCollection collection. | |
Item[Int32] | Gets the specified AdomdParameter object from the AdomdParameterCollection collection by its index. In Microsoft Visual C#, this property is the indexer for the AdomdParameterCollection class. | |
Item[String] | Gets the specified AdomdParameter object from the AdomdParameterCollection collection by its name. In Microsoft Visual C#, this property is the indexer for the AdomdParameterCollection class. |
Top
Methods
Name | Description | |
---|---|---|
Add(AdomdParameter) | Adds a AdomdParameter object to the AdomdParameterCollection collection. | |
Add(String, Object) | Creates a new AdomdParameter object with the specified property name and value, and adds it to the collection. | |
Clear | Removes all parameters from the AdomdParameterCollection object. | |
Contains(String) | Given a property name, this method determines whether a parameter is in the AdomdParameterCollection collection. | |
Contains(AdomdParameter) | Determines whether a parameter is in the AdomdParameterCollection collection. | |
CopyTo | Copies the elements of the AdomdParameterCollection collection to the specified array. | |
CreateObjRef | Security Critical. (Inherited from MarshalByRefObject.) | |
Equals | (Inherited from Object.) | |
Find | Gets the specified AdomdParameter object from the AdomdParameterCollection collection by its name. | |
GetEnumerator | ||
GetHashCode | (Inherited from Object.) | |
GetLifetimeService | Security Critical. (Inherited from MarshalByRefObject.) | |
GetType | (Inherited from Object.) | |
IndexOf(String) | Given a property name, this method returns the zero-based index of the first occurrence of a parameter in the AdomdParameterCollection collection. | |
IndexOf(AdomdParameter) | Returns the zero-based index of the first occurrence of a parameter in the AdomdParameterCollection collection. | |
InitializeLifetimeService | Security Critical. (Inherited from MarshalByRefObject.) | |
Insert | Inserts a parameter into the AdomdParameterCollection collection at the specified index. | |
Remove | Removes the first occurrence of a specific parameter from the AdomdParameterCollection object. | |
RemoveAt(Int32) | Removes the parameter at the specified index of the AdomdParameterCollection object. | |
RemoveAt(String) | Removes the parameter specified by name in the AdomdParameterCollection object. | |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IListAdd | Adds an item to the AdomdParameterCollection. | |
IListContains | Determines whether the AdomdParameterCollection contains a specific value. | |
ICollectionCopyTo | Copies the elements of the AdomdParameterCollection to the specified array, starting at a particular array index. | |
IListIndexOf | Determines the index of the AdomdParameter in the AdomdParameterCollection. | |
IListInsert | Inserts an item to the AdomdParameterCollection at the specified index. | |
IListRemove | Removes the first occurrence of the AdomdParameter object from the collection. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.