Partager via


IFsrmFileGroup Interface

 

Used to define a group of files based on one or more file name patterns.

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

Syntax

[GuidAttribute("8DD04909-0E34-4D55-AFAA-89E1F1A1BBB9")]
public interface IFsrmFileGroup : IFsrmObject
[GuidAttribute("8DD04909-0E34-4D55-AFAA-89E1F1A1BBB9")]
public interface class IFsrmFileGroup : IFsrmObject
[<GuidAttribute("8DD04909-0E34-4D55-AFAA-89E1F1A1BBB9")>]
type IFsrmFileGroup = 
    interface
        interface IFsrmObject
    end
<GuidAttribute("8DD04909-0E34-4D55-AFAA-89E1F1A1BBB9")>
Public Interface IFsrmFileGroup
    Inherits IFsrmObject

Properties

Name Description
System_CAPS_pubproperty Description

Gets and sets the Description property.

System_CAPS_pubproperty id

Gets the id property.

System_CAPS_pubproperty Members

Retrieves or sets the filename patterns that determine the files that are included in the file group.

System_CAPS_pubproperty Name

Retrieves or sets the name of the file group.

System_CAPS_pubproperty NonMembers

Retrieves or sets the filename patterns that determine the files that are excluded from the file group.

Methods

Name Description
System_CAPS_pubmethod Commit()

Saves the file group object in the server's list of objects.

System_CAPS_pubmethod Delete()

Removes the file group object from the server's list of objects.

Remarks

A file group is a logical collection of file name patterns identified by name that is used to define file screens and file screen exceptions. File group definitions may also be used for generating storage report jobs based on file type.

To create a file group, call the CreateFileGroup method.

The following methods return this interface:

A file group is formed by including all members and then excluding all nonmembers. For example, to list all files except for examplename, set Members to "*.*" and NonMembers to "examplename".

See Also

Microsoft.Storage Namespace

Return to top