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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.AnalysisServices.AdomdClient 命名空間