Export (0) Print
Expand All

AdomdParameterCollection Class

Gets a collection of AdomdParameter objects contained in an AdomdCommand object.

Object
  MarshalByRefObject
    Microsoft.AnalysisServices.AdomdClient.AdomdParameterCollection

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

public sealed class AdomdParameterCollection : MarshalByRefObject, 
	IDataParameterCollection, IList, ICollection, IEnumerable

The AdomdParameterCollection type exposes the following members.

  NameDescription
Public propertyCountGets the number of AdomdParameter objects in the AdomdParameterCollection collection.
Public propertyItem[Int32]Gets or sets the AdomdParameter object at the specified index, in the AdomdParameterCollection.
Public propertyItem[String]Gets or sets the AdomdParameter object in the AdomdParameterCollection with the specified name.
Top

  NameDescription
Public methodAdd(AdomdParameter)Adds an AdomdParameter object to the AdomdParameterCollection collection.
Public methodAdd(String, Object)Creates a new AdomdParameter object with the specified property name and value, and adds it to the collection.
Public methodClearRemoves all parameters from the AdomdParameterCollection object.
Public methodContains(String)Given a property name, this method determines whether a parameter is in the AdomdParameterCollection collection.
Public methodContains(AdomdParameter)Determines whether a parameter is in the AdomdParameterCollection collection.
Public methodCopyToCopies the elements of the AdomdParameterCollection collection to the specified array.
Public methodCreateObjRefSecurity Critical. (Inherited from MarshalByRefObject.)
Public methodEquals (Inherited from Object.)
Public methodFindGets the specified AdomdParameter object from the AdomdParameterCollection collection by its name.
Public methodGetHashCode (Inherited from Object.)
Public methodGetLifetimeServiceSecurity Critical. (Inherited from MarshalByRefObject.)
Public methodGetType (Inherited from Object.)
Public methodIndexOf(String)Given a property name, this method returns the zero-based index of the first occurrence of a parameter in the AdomdParameterCollection collection.
Public methodIndexOf(AdomdParameter)Returns the zero-based index of the first occurrence of a parameter in the AdomdParameterCollection collection.
Public methodInitializeLifetimeServiceSecurity Critical. (Inherited from MarshalByRefObject.)
Public methodInsertInserts a parameter into the AdomdParameterCollection collection at the specified index.
Public methodRemoveRemoves the first occurrence of a specific parameter from the AdomdParameterCollection object.
Public methodRemoveAt(Int32)Removes the parameter at the specified index of the AdomdParameterCollection object.
Public methodRemoveAt(String)Removes the parameter specified by name in the AdomdParameterCollection object.
Public methodToString (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodIListAddAdds an item to the collection.
Explicit interface implemetationPrivate methodIListContainsDetermines whether the collection contains the specified value.
Explicit interface implemetationPrivate methodICollectionCopyToCopies the elements of the collection to an array, starting at a particular array index.
Explicit interface implemetationPrivate methodIEnumerableGetEnumeratorReturns an enumerator that iterates through a collection.
Explicit interface implemetationPrivate methodIListIndexOfDetermines the index of the specified item in the collection.
Explicit interface implemetationPrivate methodIListInsertInserts an item to the collection at the specified index.
Explicit interface implemetationPrivate propertyIListIsFixedSizeGets a value indicating whether the collection has a fixed size. Always returns false.
Explicit interface implemetationPrivate propertyIListIsReadOnlyGets a value indicating whether the collection is read-only. Always returns false.
Explicit interface implemetationPrivate propertyICollectionIsSynchronizedGets a value indicating whether access to the AdomdParameterCollection is synchronized (thread safe). Always returns false.
Explicit interface implemetationPrivate propertyIListItemGets or sets the AdomdParameter object at the specified index, in the AdomdParameterCollection.
Explicit interface implemetationPrivate propertyIDataParameterCollectionItemGets or sets the parameter with the specified name.
Explicit interface implemetationPrivate methodIListRemoveRemoves the first occurrence of a specified object from the collection.
Explicit interface implemetationPrivate propertyICollectionSyncRootGets an object that can be used to synchronize access to the collection.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft