AdomdCommand.CommandTimeout Property


Updated: March 10, 2016

Gets or sets the time to wait for a command to run before the AdomdCommand stops trying to run the command and generates an error.

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

public int CommandTimeout { get; set; }

Property Value

Type: System.Int32

An integer that contains the time, in seconds, to wait for the command to run.

Exception Condition

The property is set to a number less than zero (0).

If this property is set to zero (0), the AdomdCommand waits indefinitely while trying to run a command. We do not recommend this setting.

Return to top