Compartilhar via


Classe AdomdParameter

Represents a parameter to an AdomdCommand object.

Hierarquia de herança

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

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

Sintaxe

'Declaração
Public NotInheritable Class AdomdParameter _
    Inherits MarshalByRefObject _
    Implements IDbDataParameter, IDataParameter, ICloneable
'Uso
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

O tipo AdomdParameter expõe os membros a seguir.

Construtores

  Nome Descrição
Método público AdomdParameter() Initializes a new instance of the AdomdParameter class.
Método público AdomdParameter(String, Object) Initializes a new instance of the AdomdParameter class with the name and value of the AdomdParameter.

Início

Propriedades

  Nome Descrição
Propriedade pública DbType Gets or sets the DbType of the AdomdParameter object.
Propriedade pública Direction Gets or sets a value indicating the direction of the parameter. Always returns ParameterDirection.Input.
Propriedade pública IsNullable Gets a value indicating whether the parameter accepts nulluma referência nula (Nothing no Visual Basic) values. Always returns false.
Propriedade pública ParameterName Gets or sets the name of the AdomdParameter.
Propriedade pública Precision Gets or sets the maximum number of digits used to represent the Value property.
Propriedade pública Scale Gets or sets the number of decimal places to which the Value is resolved.
Propriedade pública Size Gets or sets the maximum size, in bytes, of the data within the column.
Propriedade pública SourceColumn Gets or sets the name of the source column mapped to the DataSet and used for loading or returning the Value.
Propriedade pública SourceVersion Gets or sets the DataRowVersion to use when loading Value. This property always returns DataRowVersion.Current.
Propriedade pública Value Gets or sets the value of the parameter.

Início

Métodos

  Nome Descrição
Método público Clone Creates a new AdomdParameter object that is a copy of the current instance.
Método público CreateObjRef Segurança crítica. (Herdado de MarshalByRefObject.)
Método público Equals (Herdado de Object.)
Método público GetHashCode (Herdado de Object.)
Método público GetLifetimeService Segurança crítica. (Herdado de MarshalByRefObject.)
Método público GetType (Herdado de Object.)
Método público InitializeLifetimeService Segurança crítica. (Herdado de MarshalByRefObject.)
Método público ToString Returns a string representation of AdomdParameter object. (Substitui Object.ToString().)

Início

Implementações de interfaces explícitas

  Nome Descrição
Implementações de interfaces explícitasMétodo privado ICloneable.Clone Creates a new object that is a copy of the current instance.

Início

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência

Namespace Microsoft.AnalysisServices.AdomdClient