영어로 읽기

다음을 통해 공유


AdomdCommand.CommandTimeout 속성

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.

네임스페이스:  Microsoft.AnalysisServices.AdomdServer
어셈블리:  msmgdsrv(msmgdsrv.dll)

구문

public int CommandTimeout { get; set; }

속성 값

유형: System.Int32
The time, in seconds, to wait for the command to run.

구현

IDbCommand.CommandTimeout

예외

예외 조건
System.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.

참고 항목

참조

AdomdCommand 클래스

Microsoft.AnalysisServices.AdomdServer 네임스페이스