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)
Syntax
[GuidAttribute("96DEB3B5-8B91-4A2A-9D93-80A35D8AA847")]
public interface IFsrmCommittableCollection : IFsrmMutableCollection
[GuidAttribute("96DEB3B5-8B91-4A2A-9D93-80A35D8AA847")]
public interface class IFsrmCommittableCollection : IFsrmMutableCollection
[<GuidAttribute("96DEB3B5-8B91-4A2A-9D93-80A35D8AA847")>]
type IFsrmCommittableCollection =
interface
interface IFsrmMutableCollection
end
<GuidAttribute("96DEB3B5-8B91-4A2A-9D93-80A35D8AA847")>
Public Interface IFsrmCommittableCollection
Inherits IFsrmMutableCollection
Properties
Name | Description | |
---|---|---|
Count | Gets the Count property. |
|
Item[Int32] | Gets the specified item. |
|
State | Gets the State property. |
Methods
Name | Description | |
---|---|---|
Add(Object) | Adds an object to the collection. |
|
Cancel() | Cancels the collection of objects when the objects are collected asynchronously. |
|
Clone() | Creates a duplicate IFsrmMutableCollection object. |
|
Commit(_FsrmCommitOptions) | Commits all the objects of the collection and returns the commit results for each object. |
|
GetById(Guid) | Retrieves the specified object from the mutable collection. |
|
GetEnumerator() | Retrieves an enumerator that allows iteration through the collection of FSRM objects. |
|
Remove(Int32) | Removes the specified object from the collection using an index value. |
|
RemoveById(Guid) | Removes the specified object from the collection using an object identifier. |
|
WaitForCompletion(Int32) | Limits the time that an asynchronous collection can take to collect the objects. |
Remarks
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.
The collection is empty if the Count property is zero.
See Also
Return to top