IFsrmCommittableCollection Interface


Defines a collection of FSRM objects that can have the same type of objects added to or removed from the collection. All objects in the collection can also be committed in a single batch operation.

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


public interface IFsrmCommittableCollection : IFsrmMutableCollection
public interface class IFsrmCommittableCollection : IFsrmMutableCollection
type IFsrmCommittableCollection = 
        interface IFsrmMutableCollection
Public Interface IFsrmCommittableCollection
    Inherits IFsrmMutableCollection


Name Description
System_CAPS_pubproperty Count

Gets the Count property.

System_CAPS_pubproperty Item[Int32]

Gets the specified item.

System_CAPS_pubproperty State

Gets the State property.


Name Description
System_CAPS_pubmethod Add(Object)

Adds an object to the collection.

System_CAPS_pubmethod Cancel()

Cancels the collection of objects when the objects are collected asynchronously.

System_CAPS_pubmethod Clone()

Creates a duplicate IFsrmMutableCollection object.

System_CAPS_pubmethod Commit(_FsrmCommitOptions)

Commits all the objects of the collection and returns the commit results for each object.

System_CAPS_pubmethod GetById(Guid)

Retrieves the specified object from the mutable collection.

System_CAPS_pubmethod GetEnumerator()

Retrieves an enumerator that allows iteration through the collection of FSRM objects.

System_CAPS_pubmethod Remove(Int32)

Removes the specified object from the collection using an index value.

System_CAPS_pubmethod RemoveById(Guid)

Removes the specified object from the collection using an object identifier.

System_CAPS_pubmethod WaitForCompletion(Int32)

Limits the time that an asynchronous collection can take to collect the objects.


Committing objects in a batch operation provides better performance than committing each object in the collection individually.

To create an empty collection, call the CreateQuotaCollection method.

  1. ImportFileGroups

  2. ImportFileScreenTemplates

  3. ImportQuotaTemplates

  4. EnumFileGroups

  5. ImportFileGroups

  6. CreateFileScreenCollection

  7. EnumFileScreens

  8. EnumFileScreenExceptions

  9. EnumTemplates

  10. ImportTemplates

  11. EnumAutoApplyQuotas

  12. EnumEffectiveQuotas

  13. EnumQuotas

  14. EnumTemplates

  15. ImportTemplates

The collection is empty if the Count property is zero.

See Also

Microsoft.Storage Namespace

Return to top