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。) | |
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. | |
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 AdomdParameterCollection. | |
IList.Contains | Determines whether the AdomdParameterCollection contains a specific value. | |
ICollection.CopyTo | Copies the elements of the AdomdParameterCollection to the specified array, starting at a particular array index. | |
IList.IndexOf | Determines the index of the AdomdParameter in the AdomdParameterCollection. | |
IList.Insert | Inserts an item to the AdomdParameterCollection at the specified index. | |
IList.Remove | Removes the first occurrence of the AdomdParameter object from the collection. |
上層
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。