existsSchedule 関数は、スケジュール オブジェクトが指定されたパスに存在するかどうかを確認します。 絶対パスまたは相対パスで指定可能です。 相対パスは、スクリプトが実行されるプロセスに対する相対パスです。
構文
bExists = existsSchedule(schedulepath)
引数
存在を確認する必要のあるスケジュール オブジェクトのフル/相対パスを指定します。
戻り値
スケジュール オブジェクトが存在する場合は true を、存在しない場合は false を返します。
例
if (existsSchedule("testSchedule"))
{Process.mseg_schedule= "testSchedule exists" ;}
else
{Process.mseg_schedule= "testSchedule does not exist" ;}
if (existsSchedule("testSchedule"))
{Process.mseg_schedule= "testSchedule exists" ;}
else
{Process.mseg_Schedule= "testSchedule does not exist" ;}
|
Copyright © 2013 CA.
All rights reserved.
|
|