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.
네임스페이스: Microsoft.AnalysisServices.AdomdClient
어셈블리: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)
구문
‘선언
Public Property CommandTimeout As Integer
public int CommandTimeout { get; set; }
public:
virtual property int CommandTimeout {
int get () sealed;
void set (int value) sealed;
}
/** @property */
public final int get_CommandTimeout ()
/** @property */
public final void set_CommandTimeout (int value)
public final function get CommandTimeout () : int
public final function set CommandTimeout (value : int)
속성 값
An integer that contains the time, in seconds, to wait for the command to run.
예외
예외 유형 | 상태 |
---|---|
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.
스레드 보안
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
플랫폼
개발 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
대상 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
참고 항목
참조
AdomdCommand Class
AdomdCommand Members
Microsoft.AnalysisServices.AdomdClient Namespace