AdomdCommand.IDbCommand.Connection Propiedad
Gets or sets the AdomdConnection used by this instance of the AdomdCommand.
Espacio de nombres: Microsoft.AnalysisServices.AdomdClient
Ensamblado: Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)
Sintaxis
'Declaración
Private Property Connection As IDbConnection
Implements IDbCommand.Connection
Get
Set
'Uso
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 admite el uso de implementaciones de interfaces explícitas, pero no la declaración de otras nuevas.
Valor de la propiedad
Tipo: System.Data.IDbConnection
An AdomdConnection, or a nulles una referencia NULL (Nothing en Visual Basic). value if no AdomdConnection is associated with the AdomdCommand.