AdomdParameter 类
Represents a parameter to an AdomdCommand object.
继承层次结构
System.Object
System.MarshalByRefObject
Microsoft.AnalysisServices.AdomdClient.AdomdParameter
命名空间: Microsoft.AnalysisServices.AdomdClient
程序集: Microsoft.AnalysisServices.AdomdClient(在 Microsoft.AnalysisServices.AdomdClient.dll 中)
语法
声明
Public NotInheritable Class AdomdParameter _
Inherits MarshalByRefObject _
Implements IDbDataParameter, IDataParameter, ICloneable
用法
Dim instance As AdomdParameter
public sealed class AdomdParameter : MarshalByRefObject,
IDbDataParameter, IDataParameter, ICloneable
public ref class AdomdParameter sealed : public MarshalByRefObject,
IDbDataParameter, IDataParameter, ICloneable
[<SealedAttribute>]
type AdomdParameter =
class
inherit MarshalByRefObject
interface IDbDataParameter
interface IDataParameter
interface ICloneable
end
public final class AdomdParameter extends MarshalByRefObject implements IDbDataParameter, IDataParameter, ICloneable
AdomdParameter 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
![]() |
AdomdParameter() | Initializes a new instance of the AdomdParameter class. |
![]() |
AdomdParameter(String, Object) | Initializes a new instance of the AdomdParameter class with the name and value of the AdomdParameter. |
页首
属性
名称 | 说明 | |
---|---|---|
![]() |
DbType | Gets or sets the DbType of the AdomdParameter object. |
![]() |
Direction | Gets or sets a value indicating the direction of the parameter. Always returns ParameterDirection.Input. |
![]() |
IsNullable | Gets a value indicating whether the parameter accepts nullnull 引用(在 Visual Basic 中为 Nothing) values. Always returns false. |
![]() |
ParameterName | Gets or sets the name of the AdomdParameter. |
![]() |
Precision | Gets or sets the maximum number of digits used to represent the Value property. |
![]() |
Scale | Gets or sets the number of decimal places to which the Value is resolved. |
![]() |
Size | Gets or sets the maximum size, in bytes, of the data within the column. |
![]() |
SourceColumn | Gets or sets the name of the source column mapped to the DataSet and used for loading or returning the Value. |
![]() |
SourceVersion | Gets or sets the DataRowVersion to use when loading Value. This property always returns DataRowVersion.Current. |
![]() |
Value | Gets or sets the value of the parameter. |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Clone | Creates a new AdomdParameter object that is a copy of the current instance. |
![]() |
CreateObjRef | 安全关键。 (从 MarshalByRefObject 继承。) |
![]() |
Equals | (从 Object 继承。) |
![]() |
GetHashCode | (从 Object 继承。) |
![]() |
GetLifetimeService | 安全关键。 (从 MarshalByRefObject 继承。) |
![]() |
GetType | (从 Object 继承。) |
![]() |
InitializeLifetimeService | 安全关键。 (从 MarshalByRefObject 继承。) |
![]() |
ToString | Returns a string representation of AdomdParameter object. (覆盖 Object.ToString()。) |
页首
显式接口实现
名称 | 说明 | |
---|---|---|
![]() ![]() |
ICloneable.Clone | Creates a new object that is a copy of the current instance. |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。