共用方式為


IFsrmFileManagementJob::EnumNotificationActions 方法 (fsrmreports.h)

[此方法支援相容性,但建議使用 FSRM WMI 類別 來管理 FSRM。 請參閱 MSFT_FSRMFileManagementJob 類別。]

列舉與通知值相關聯的動作。

語法

HRESULT EnumNotificationActions(
  [in]  long            days,
  [out] IFsrmCollection **actions
);

參數

[in] days

包含您要列舉之動作的通知值。

[out] actions

包含動作集合的 IFsrmCollection 介面。 集合中每個項目的變體類型 VT_DISPATCH。 查詢變體的 pdispVal 成員,以取得 IFsrmAction 介面。 您可以使用 IFsrmAction::ActionType 屬性來判斷要查詢的實際動作介面。

傳回值

方法會傳回下列傳回值。

規格需求

需求
最低支援的用戶端 都不支援
最低支援的伺服器 Windows Server 2008 R2
目標平台 Windows
標頭 fsrmreports.h
Dll SrmSvc.dll

另請參閱

IFsrmFileManagementJob

IFsrmFileManagementJob::CreateNotificationAction

MSFT_FSRMFileManagementJob