Share via


IFsrmFileManagementJob.FileNamePattern Property

 

Retrieves or sets a condition property: wildcard filter for names.

Namespace:   Microsoft.Storage
Assembly:  srmlib (in srmlib.dll)

Syntax

string FileNamePattern { get; set; }
property String^ FileNamePattern {
    String^ get();
    void set(String^ value);
}
abstract FileNamePattern : string with get, set
Property FileNamePattern As String

Property Value

Type: System.String

Returns a String containing the desired wildcard filter for names. Setting this property to an empty string disables this condition. The pattern cannot contain the following: question mark (?), slash mark (/), backslash (\), greater than sign (>), less than sign (<), vertical bar (|), or colon (:).

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.

See Also

IFsrmFileManagementJob Interface
Microsoft.Storage Namespace

Return to top