AdomdCommand.Connection Property


Updated: March 10, 2016

Gets or sets the AdomdConnection that the AdomdCommand uses.

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

public AdomdConnection Connection { get; set; }

Property Value

Type: Microsoft.AnalysisServices.AdomdClient.AdomdConnection

An AdomdConnection, or a null value if no AdomdConnection is associated with the AdomdCommand. The default value is a null value.

Before trying to run an AdomdCommand, you must set the Connection property to a valid AdomdConnection.

Return to top