Share via


AdomdParameter Class

Represents a parameter to an AdomdCommand object.

Inheritance Hierarchy

Object
  MarshalByRefObject
    Microsoft.AnalysisServices.AdomdServer.AdomdParameter

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Syntax

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

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 Gets or sets the DbType of the parameter. This property is reserved for future use.
Public property Direction Gets or sets a value indicating the direction of the parameter.
Public property IsNullable Gets a value indicating whether the parameter accepts nulla null reference (Nothing in Visual Basic) values.
Public property ParameterName Gets or sets the name of the AdomdParameter.
Public property Precision Gets or sets the precision of numeric parameters. This property is reserved for future use.
Public property Scale Gets or sets the scale of numeric parameters. This property is reserved for future use.
Public property Size Gets or sets the size of the parameter. This property is reserved for future use.
Public property SourceColumn Gets or sets the name of the source column that is mapped to the DataSet and used for loading or returning the Value. This property is reserved for future use.
Public property SourceVersion Gets or sets the DataRowVersion to use when loading Value.
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 Security Critical. (Inherited from MarshalByRefObject.)
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetLifetimeService Security Critical. (Inherited from MarshalByRefObject.)
Public method GetType (Inherited from Object.)
Public method InitializeLifetimeService Security Critical. (Inherited from MarshalByRefObject.)
Public method ToString Returns the ParameterName. (Overrides ObjectToString.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICloneableClone Creates a new instance of the AdomdParameter.

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.

See Also

Reference

Microsoft.AnalysisServices.AdomdServer Namespace