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 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 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 继承。) | |
Finalize | (从 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. | |
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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。