Share via


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 Gets or sets the DbType of the AdomdParameter object.
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 Gets or sets the maximum number of digits used to represent the Value property.
Public property Scale Gets or sets the number of decimal places to which the Value is resolved.
Public property Size Gets or sets the maximum size, in bytes, of the data within the column.
Public property SourceColumn Gets or sets the name of the source column mapped to the DataSet and used for loading or returning the Value.
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 object 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 a string representation of AdomdParameter object. (Overrides Object.ToString().)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICloneable.Clone Creates a new object that is a copy of the current instance.

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.AdomdClient Namespace