IFsrmAutoApplyQuota::ExcludeFolders property

[This property is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMAutoQuota class.]

Retrieves or sets an array of immediate subdirectories to exclude from the automatic quota.

This property is read/write.

Syntax


HRESULT put_ExcludeFolders(
  [in]   SAFEARRAY(VARIANT) *folders
);

HRESULT get_ExcludeFolders(
  [out]  SAFEARRAY(VARIANT) **folders
);

Property value

A SAFEARRAY of variants that contains one or more subdirectory (folder) names to exclude from the automatic quota. Set the variant type of each variant to VT_BSTR. Use the bstrVal member to specify the folder.

The maximum number of folders in the array is 32.

Note  A folder name must not be a full or relative path; it must be a single directory name.

Error codes

The method returns the following return values.

NameMeaning
S_OK

Success.

E_INVALIDARG

The folders parameter is NULL.

Remarks

The list can contain the names of existing subdirectories or subdirectories that may exist in the future.

Setting this property overwrites the current list of subdirectories to exclude. To remove all folders, pass an empty array.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

FsrmQuota.h

DLL

SrmSvc.dll

IID

IID_IFsrmAutoApplyQuota is defined as f82e5729-6aba-4740-bfc7-c7f58f75fb7b

See also

IFsrmAutoApplyQuota
MSFT_FSRMAutoQuota

 

 

Show:
© 2015 Microsoft