AdomdParameter Class

Represents a parameter to an AdomdCommand object.

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    Microsoft.AnalysisServices.AdomdClient.AdomdParameter

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Public NotInheritable Class AdomdParameter _
    Inherits MarshalByRefObject _
    Implements IDbDataParameter, IDataParameter, ICloneable
'Usage
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

The AdomdParameter type exposes the following members.

Constructors

  Name Description
Public method AdomdParameter() Initializes a new instance of the AdomdParameter class.
Public method AdomdParameter(String, Object) Initializes a new instance of the AdomdParameter class with the name and value of the AdomdParameter.

Top

Properties

  Name Description
Public property DbType This property is reserved for future use.
Public property Direction Gets or sets a value indicating the direction of the parameter. Always returns ParameterDirection.Input.
Public property IsNullable Gets a value indicating whether the parameter accepts nulla null reference (Nothing in Visual Basic) values. Always returns false.
Public property ParameterName Gets or sets the name of the AdomdParameter.
Public property Precision This property is reserved for future use.
Public property Scale This property is reserved for future use.
Public property Size This property is reserved for future use.
Public property SourceColumn This property is reserved for future use.
Public property SourceVersion Gets or sets the DataRowVersion to use when loading Value. This property always returns DataRowVersion.Current.
Public property Value Gets or sets the value of the parameter.

Top

Methods

  Name Description
Public method Clone Creates a new AdomdParameter that is a copy of the current instance.
Public method CreateObjRef (Inherited from MarshalByRefObject.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetLifetimeService (Inherited from MarshalByRefObject.)
Public method GetType (Inherited from Object.)
Public method InitializeLifetimeService (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone() (Inherited from Object.)
Protected method MemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Public method ToString Returns the ParameterName. (Overrides Object.ToString().)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICloneable.Clone

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.