ExecuteProcess.TimeOut プロパティ

タスクがプロセスの実行を許可する秒数を取得します。値の設定も可能です。

名前空間:  Microsoft.SqlServer.Dts.Tasks.ExecuteProcess
アセンブリ:  Microsoft.SqlServer.ExecProcTask (Microsoft.SqlServer.ExecProcTask.dll)

構文

'宣言
Public Property TimeOut As Integer 
    Get 
    Set
'使用
Dim instance As ExecuteProcess 
Dim value As Integer 

value = instance.TimeOut

instance.TimeOut = value
public int TimeOut { get; set; }
public:
virtual property int TimeOut {
    int get () sealed;
    void set (int value) sealed;
}
abstract TimeOut : int with get, set 
override TimeOut : int with get, set
final function get TimeOut () : int 
final function set TimeOut (value : int)

プロパティ値

型: System.Int32
タスクがプロセスに実行を許可する秒数を示す Integer です。この値を 0 に設定すると、タイムアウト値は使用されず、完了するかエラーが発生するまでプロセスが実行されます。

実装

IDTSExecuteProcess.TimeOut

関連項目

参照

ExecuteProcess クラス

Microsoft.SqlServer.Dts.Tasks.ExecuteProcess 名前空間