IFsrmFileManagementJob::put_FileNamePattern method (fsrmreports.h)

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

A condition property: wildcard filter for names.

This property is read/write.

Syntax

HRESULT put_FileNamePattern(
  BSTR fileNamePattern
);

Parameters

fileNamePattern

Return value

None

Remarks

A file name pattern is a string expression that defines a set of file names. The expression may contain the following wildcard characters: "" and "?". The "" wildcard matches zero or more characters and the "?" wildcard matches exactly 1 character. For example, the file name "example.cpp" matches the pattern "e*.cpp", but not "e?.cpp". The file name "ex.cpp" would match both patterns. Note that when the file name pattern is used to compare against a specific file name, the pattern match is case-insensitive.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 R2
Target Platform Windows
Header fsrmreports.h
DLL SrmSvc.dll

See also

IFsrmFileManagementJob

MSFT_FSRMFileManagementJob