Windows Dev Center

IFsrmFileManagementJob::ModifyNotification method

[This method is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMFileManagementJob class.]

Change a notification value in the file management job's list of notifications.

Syntax


HRESULT ModifyNotification(
  [inlong days,
  [inlong newDays
);

Parameters

days [in]

The notification value to change.

newDays [in]

The new notification value. The value must be unique and cannot be less than zero.

Return value

The method returns the following return values.

Return codeDescription
S_OK

Success

E_INVALIDARG

The newDays parameter is less than zero.

FSRM_E_ALREADY_EXISTS

The job already contains the notification value.

FSRM_E_NOT_FOUND

The job does not contain the notification value.

 

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2

DLL

SrmSvc.dll

IID

IID_IFsrmFileManagementJob is defined as 0770687e-9f36-4d6f-8778-599d188461c9

See also

IFsrmFileManagementJob
IFsrmFileManagementJob::AddNotification
IFsrmFileManagementJob::DeleteNotification
IFsrmFileManagementJob::Notifications
MSFT_FSRMFileManagementJob

 

 

Show:
© 2015 Microsoft