次の方法で共有


AgentShutdownWaitTime プロパティ

シャットダウンするまでに SQL Server エージェントがジョブの完了を待機する時間を取得します。値の設定も可能です。

名前空間:  Microsoft.SqlServer.Management.Smo.Agent
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<SfcPropertyAttribute> _
Public Property AgentShutdownWaitTime As Integer
    Get
    Set
'使用
Dim instance As JobServer
Dim value As Integer

value = instance.AgentShutdownWaitTime

instance.AgentShutdownWaitTime = value
[SfcPropertyAttribute]
public int AgentShutdownWaitTime { get; set; }
[SfcPropertyAttribute]
public:
property int AgentShutdownWaitTime {
    int get ();
    void set (int value);
}
[<SfcPropertyAttribute>]
member AgentShutdownWaitTime : int with get, set
function get AgentShutdownWaitTime () : int
function set AgentShutdownWaitTime (value : int)

プロパティ値

型: System. . :: . .Int32
シャットダウンするまでに SQL Server エージェントが待機する時間を秒数で示す Int32 値です。