共用方式為


AdomdParameterCollection 類別

This class gets a collection of AdomdParameter objects contained in a AdomdCommand object.

繼承階層

System. . :: . .Object
  System. . :: . .MarshalByRefObject
    Microsoft.AnalysisServices.AdomdServer..::..AdomdParameterCollection

命名空間:  Microsoft.AnalysisServices.AdomdServer
組件:  msmgdsrv (在 msmgdsrv.dll 中)

語法

'宣告
Public NotInheritable Class AdomdParameterCollection _
    Inherits MarshalByRefObject _
    Implements IDataParameterCollection
'用途
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

AdomdParameterCollection 型別公開下列成員。

屬性

  名稱 說明
公用屬性 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.

上層

方法

  名稱 說明
公用方法 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 (繼承自 MarshalByRefObject。)
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 Find Gets the specified AdomdParameter object from the AdomdParameterCollection collection by its name.
受保護的方法 GetEnumerator
公用方法 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.
受保護的方法 MemberwiseClone() () () () (繼承自 Object。)
受保護的方法 MemberwiseClone(Boolean) (繼承自 MarshalByRefObject。)
公用方法 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。)

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。