AdomdCommand.IDbCommand.Connection Property

Gets or sets the AdomdConnection used by this instance of the AdomdCommand.

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

Syntax

'Declaration
Private Property Connection As IDbConnection 
    Implements IDbCommand.Connection 
    Get 
    Set
'Usage
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 supports the use of explicit interface implementations, but not the declarations of new ones.

Property Value

Type: System.Data.IDbConnection
An AdomdConnection, or a nulla null reference (Nothing in Visual Basic) value if no AdomdConnection is associated with the AdomdCommand.

Implements

IDbCommand.Connection

See Also

Reference

AdomdCommand Class

Microsoft.AnalysisServices.AdomdClient Namespace