AdomdParameterCollection 类

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

继承层次结构

System.Object
  System.MarshalByRefObject
    Microsoft.AnalysisServices.AdomdClient.AdomdParameterCollection

命名空间:  Microsoft.AnalysisServices.AdomdClient
程序集:  Microsoft.AnalysisServices.AdomdClient(在 Microsoft.AnalysisServices.AdomdClient.dll 中)

语法

声明
Public NotInheritable Class AdomdParameterCollection _
    Inherits MarshalByRefObject _
    Implements IDataParameterCollection, IList, ICollection, IEnumerable
用法
Dim instance As AdomdParameterCollection
public sealed class AdomdParameterCollection : MarshalByRefObject, 
    IDataParameterCollection, IList, ICollection, IEnumerable
public ref class AdomdParameterCollection sealed : public MarshalByRefObject, 
    IDataParameterCollection, IList, ICollection, IEnumerable
[<SealedAttribute>]
type AdomdParameterCollection =  
    class 
        inherit MarshalByRefObject 
        interface IDataParameterCollection 
        interface IList 
        interface ICollection 
        interface IEnumerable 
    end
public final class AdomdParameterCollection extends MarshalByRefObject implements IDataParameterCollection, IList, ICollection, IEnumerable

AdomdParameterCollection 类型公开以下成员。

属性

  名称 说明
公共属性 Count Gets the number of AdomdParameter objects in the AdomdParameterCollection collection.
公共属性 Item[Int32] Gets or sets the AdomdParameter object at the specified index, in the AdomdParameterCollection.
公共属性 Item[String] Gets or sets the AdomdParameter object in the AdomdParameterCollection with the specified name.

页首

方法

  名称 说明
公共方法 Add(AdomdParameter) Adds an 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 安全关键。 (从 MarshalByRefObject 继承。)
公共方法 Equals (从 Object 继承。)
公共方法 Find Gets the specified AdomdParameter object from the AdomdParameterCollection collection by its name.
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetLifetimeService 安全关键。 (从 MarshalByRefObject 继承。)
公共方法 GetType (从 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 安全关键。 (从 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 (从 Object 继承。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 IList.Add Adds an item to the collection.
显式接口实现私有方法 IList.Contains Determines whether the collection contains the specified value.
显式接口实现私有方法 ICollection.CopyTo Copies the elements of the collection to an array, starting at a particular array index.
显式接口实现私有方法 IEnumerable.GetEnumerator Returns an enumerator that iterates through a collection.
显式接口实现私有方法 IList.IndexOf Determines the index of the specified item in the collection.
显式接口实现私有方法 IList.Insert Inserts an item to the collection at the specified index.
显式接口实现私有属性 IList.IsFixedSize Gets a value indicating whether the collection has a fixed size. Always returns false.
显式接口实现私有属性 IList.IsReadOnly Gets a value indicating whether the collection is read-only. Always returns false.
显式接口实现私有属性 ICollection.IsSynchronized Gets a value indicating whether access to the AdomdParameterCollection is synchronized (thread safe). Always returns false.
显式接口实现私有属性 IList.Item Gets or sets the AdomdParameter object at the specified index, in the AdomdParameterCollection.
显式接口实现私有属性 IDataParameterCollection.Item Gets or sets the parameter with the specified name.
显式接口实现私有方法 IList.Remove Removes the first occurrence of a specified object from the collection.
显式接口实现私有属性 ICollection.SyncRoot Gets an object that can be used to synchronize access to the collection.

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.AnalysisServices.AdomdClient 命名空间