AdomdCommand.IDbCommand.Connection 属性
Gets or sets the AdomdConnection used by this instance of the AdomdCommand.
命名空间: Microsoft.AnalysisServices.AdomdClient
程序集: Microsoft.AnalysisServices.AdomdClient(在 Microsoft.AnalysisServices.AdomdClient.dll 中)
语法
声明
Private Property Connection As IDbConnection
Implements IDbCommand.Connection
Get
Set
用法
Dim instance As AdomdCommand
Dim value As IDbConnection
value = CType(instance, IDbCommand).Connection
CType(instance, IDbCommand).Connection = value
IDbConnection IDbCommand.Connection { get; set; }
private:
virtual property IDbConnection^ Connection {
IDbConnection^ get () sealed = IDbCommand::Connection::get;
void set (IDbConnection^ value) sealed = IDbCommand::Connection::set;
}
private abstract Connection : IDbConnection with get, set
private override Connection : IDbConnection with get, set
JScript 支持使用显式接口实现,但不支持声明新显式接口实现。
属性值
类型:System.Data.IDbConnection
An AdomdConnection, or a nullnull 引用(在 Visual Basic 中为 Nothing) value if no AdomdConnection is associated with the AdomdCommand.