共用方式為


AdomdParameter.DbType 屬性

Gets or sets the DbType of the AdomdParameter object.

命名空間:  Microsoft.AnalysisServices.AdomdClient
組件:  Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)

語法

'宣告
Public Property DbType As DbType 
    Get 
    Set
'用途
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)

屬性值

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

實作

IDataParameter.DbType

例外狀況

例外狀況 條件
System.NotSupportedException

The property is called.

備註

This property throws System.NotSupportedException when accessed.

請參閱

參考

AdomdParameter 類別

Microsoft.AnalysisServices.AdomdClient 命名空間