共用方式為


類別SMS_EPAlert中的 Close 方法

Close Configuration Manager 中的 Windows Management Instrumentation (WMI) 類別方法會延後警示。

下列語法是從受控物件格式 (MOF) 程式代碼中簡化,並定義方法。

語法

sint32 Close(  
     string Comments,  
     datetime SkipUntil  
);  

參數

Comments
資料類型:String

限定 符: [in, optional]

系統管理員針對延後動作提供的批注。

SkipUntil
資料類型:DateTime

限定 符: [out, optional]

在指定的時間之前,請勿開始評估。

傳回值

數據 SInt32 類型,為 0 表示成功或非零表示失敗。

如需處理傳回錯誤的詳細資訊,請參閱關於 Configuration Manager 錯誤

需求

運行時間需求

如需詳細資訊,請參閱 Configuration Manager 伺服器運行時間需求。

開發需求

如需詳細資訊,請參閱 Configuration Manager 伺服器開發需求。

另請參閱

SMS_Alert 伺服器 WMI 類別