共用方式為


IDbCommand.Connection 屬性

命名空間:  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 支援明確介面實作的使用,但不支援新介面實作的宣告。

實作

IDbCommand. . :: . .Connection