4.8 Modifying File Management Jobs
File Server Resource Manager Protocol file management jobs registered on the server can be modified via the IFsrmFileManagementJobManager interface (section 3.2.4.2.50). The following describes how a client can modify a FSRM file management job to have a new classification property condition:
The client requests the creation of an instance of the File Management Job Manager on the local machine by calling CoCreateInstance with the class GUID of the File Management Job Manager, requesting an instance of the File Management Job Manager on the server.
The server returns a reference to the IFsrmFileManagementJobManager interface.
The client calls the method IFsrmFileManagementJobManager::GetFileManagementJob (section 3.2.4.2.50.3) with the name of the file management job that it intends to modify.
The server returns a reference to the requested IFsrmFileManagementJob interface (section 3.2.4.2.48) back to the client.
The client calls the method IFsrmFileManagementJob::CreatePropertyCondition (section 3.2.4.2.48.49) with the name of a valid classification property on the server.
The server returns a reference to a new IFsrmPropertyCondition interface (section 3.2.4.2.49) back to the client.
The client calls the method implemented by IFsrmPropertyCondition::Type (put) (section 3.2.4.2.49.4) with the value of FsrmPropertyConditionType (section 2.2.2.10.1.1) that is desired for the new condition.
The server maintains the condition type.
The client calls the method IFsrmPropertyCondition::Value (put) (section 3.2.4.2.49.6) with the value that is desired for the new condition.
The server maintains the condition value.
The client calls the method IFsrmFileManagementJob::Commit.
The server stores the new definition of the file management job.
The client calls IFsrmFileManagementJob::Release.
The server decrements the number of references to the file management job.

Figure 7: Flow diagram for File Management Job modification