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.AdomdClient
어셈블리: Microsoft.AnalysisServices.AdomdClient(Microsoft.AnalysisServices.AdomdClient.dll)
구문
‘선언
Public Property CommandTimeout As Integer
Get
Set
‘사용 방법
Dim instance As AdomdCommand
Dim value As Integer
value = instance.CommandTimeout
instance.CommandTimeout = value
public int CommandTimeout { get; set; }
public:
virtual property int CommandTimeout {
int get () sealed;
void set (int value) sealed;
}
abstract CommandTimeout : int with get, set
override CommandTimeout : int with get, set
final function get CommandTimeout () : int
final function set CommandTimeout (value : int)
속성 값
유형: System. . :: . .Int32
An integer that contains the time, in seconds, to wait for the command to run.
구현
주의
If this property is set to zero (0), the AdomdCommand waits indefinitely while trying to run a command. We do not recommend this setting.