共用方式為


FsrmQuotaManagerClass.CreateQuotaCollection Method ()

 

Creates an empty collection to which you can add quotas.

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

Syntax

public virtual IFsrmCommittableCollection CreateQuotaCollection()
public:
virtual IFsrmCommittableCollection^ CreateQuotaCollection()
abstract CreateQuotaCollection : unit -> IFsrmCommittableCollection
override CreateQuotaCollection : unit -> IFsrmCommittableCollection
Public Overridable Function CreateQuotaCollection As IFsrmCommittableCollection

Return Value

Type: Microsoft.Storage.IFsrmCommittableCollection

Returns a IFsrmCommittableCollection interface to the newly created collection. To add an object to the collection, call the IFsrmMutableCollection.Add method.

Implements

IFsrmQuotaManager.CreateQuotaCollection()

Remarks

Using the collection to add more than one quota provides better performance than adding individual quotas. After adding the quotas to the collection, call the Commit method.

See Also

IFsrmQuotaManagerEx
FsrmQuotaManager
FsrmQuotaManagerClass Class
Microsoft.Storage Namespace

Return to top