3.2.4.2.48.40 FileNamePattern (put) (Opnum 50)
The FileNamePattern (put) (Opnum 50) method sets the file name pattern for files that will be included when the file management job is run and returns S_OK upon successful completion.
-
[propput, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x17))] HRESULT FileNamePattern( [in] BSTR* fileNamePattern );
fileNamePattern: Contains the file name pattern of files that the file management job will include when it is run. The pattern MUST NOT contain illegal pattern characters (section 3.2.4.2).
Return Values: The method MUST return zero on success, or a nonzero error code on failure.
-
Return value/code
Description
0x80070057
E_INVALIDARG
The fileNamePattern parameter is not a valid pattern. The pattern cannot contain the following characters: question mark (?), slash mark (/), backslash (\), greater than sign (>), less than sign (<), vertical bar (|), or colon (:).
The server MUST either set the file management job's file name pattern to fileNamePattern or return a nonzero error code.