Share via


AdomdParameter.DbType Property

Gets or sets the DbType of the AdomdParameter object.

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

Syntax

'Declaration
Public Property DbType As DbType 
    Get 
    Set
'Usage
Dim instance As AdomdParameter 
Dim value As DbType 

value = instance.DbType

instance.DbType = value
public DbType DbType { get; set; }
public:
virtual property DbType DbType {
    DbType get () sealed;
    void set (DbType value) sealed;
}
abstract DbType : DbType with get, set 
override DbType : DbType with get, set
final function get DbType () : DbType 
final function set DbType (value : DbType)

Property Value

Type: System.Data.DbType
One of the enumeration values that specifies the data type of the AdomdParameter object.

Implements

IDataParameter.DbType

Exceptions

Exception Condition
System.NotSupportedException

The property is called.

Remarks

This property throws System.NotSupportedException when accessed.

See Also

Reference

AdomdParameter Class

Microsoft.AnalysisServices.AdomdClient Namespace