AdomdParameter 类

Represents a parameter to an AdomdCommand object.

继承层次结构

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

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

语法

声明
Public NotInheritable Class AdomdParameter _
    Inherits MarshalByRefObject _
    Implements IDbDataParameter, ICloneable
用法
Dim instance As AdomdParameter
public sealed class AdomdParameter : MarshalByRefObject, 
    IDbDataParameter, ICloneable
public ref class AdomdParameter sealed : public MarshalByRefObject, 
    IDbDataParameter, ICloneable
[<SealedAttribute>]
type AdomdParameter =  
    class
        inherit MarshalByRefObject
        interface IDbDataParameter
        interface ICloneable
    end
public final class AdomdParameter extends MarshalByRefObject implements IDbDataParameter, 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 This property is reserved for future use.
公共属性 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 nullNothingnullptrunitnull 引用(在 Visual Basic 中为 Nothing) values. Always returns false.
公共属性 ParameterName Gets or sets the name of the AdomdParameter.
公共属性 Precision This property is reserved for future use.
公共属性 Scale This property is reserved for future use.
公共属性 Size This property is reserved for future use.
公共属性 SourceColumn This property is reserved for future use.
公共属性 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 that is a copy of the current instance.
公共方法 CreateObjRef (从 MarshalByRefObject 继承。)
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetLifetimeService (从 MarshalByRefObject 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 InitializeLifetimeService (从 MarshalByRefObject 继承。)
受保护方法 MemberwiseClone() () () () (从 Object 继承。)
受保护方法 MemberwiseClone(Boolean) (从 MarshalByRefObject 继承。)
公共方法 ToString Returns the ParameterName. (覆盖 Object. . :: . .ToString() () () ()。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 ICloneable. . :: . .Clone

页首

线程安全

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