We recommend using Visual Studio 2017

AdomdCommand.CommandTimeout Property

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.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

public int CommandTimeout { get; set; }

Property Value

Type: Int32
The time, in seconds, to wait for the command to run.

Implements

IDbCommandCommandTimeout

ExceptionCondition
ArgumentException

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.

Show: