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)

<GuidAttribute("96DEB3B5-8B91-4A2A-9D93-80A35D8AA847")>
Public Interface IFsrmCommittableCollection
	Inherits IFsrmMutableCollection

NameDescription
System_CAPS_pubpropertyCount

Gets the Count property.

System_CAPS_pubpropertyItem(Int32)

Gets the specified item.

System_CAPS_pubpropertyState

Gets the State property.

NameDescription
System_CAPS_pubmethodAdd(Object)

Adds an object to the collection.

System_CAPS_pubmethodCancel()

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

System_CAPS_pubmethodClone()

Creates a duplicate IFsrmMutableCollection object.

System_CAPS_pubmethodCommit(_FsrmCommitOptions)

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

System_CAPS_pubmethodGetById(Guid)

Retrieves the specified object from the mutable collection.

System_CAPS_pubmethodGetEnumerator()

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

System_CAPS_pubmethodRemove(Int32)

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

System_CAPS_pubmethodRemoveById(Guid)

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

System_CAPS_pubmethodWaitForCompletion(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.

Return to top

Community Additions

ADD
Show: