Export (0) Print
Expand All

IFsrmFileScreenException::AllowedFileGroups property

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

Retrieves or sets the names of the file groups that contain the file name patterns of the files that are allowed in the directory.

This property is read/write.

Syntax


HRESULT put_AllowedFileGroups(
  [in]   IFsrmMutableCollection *allowList
);

HRESULT get_AllowedFileGroups(
  [out]  IFsrmMutableCollection **allowList
);

Property value

An IFsrmMutableCollection interface that contains a collection of names of the file groups that this file screen allows.

Each item in the collection is a VARIANT of type VT_BSTR. Use the bstrVal member of the VARIANT to set the name.

Error codes

The method returns the following return values.

NameMeaning
S_OK

Success.

E_INVALIDARG

The path parameter is NULL or the variants are not of type VT_BSTR.

Examples

For an example, see Defining a File Screen Exception.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

FsrmScreen.h

IDL

FsrmScreen.idl

DLL

SrmSvc.dll

IID

IID_IFsrmFileScreenException is defined as bee7ce02-df77-4515-9389-78f01c5afc1a

See also

IFsrmFileScreenException
MSFT_FSRMFileScreenException

 

 

Show:
© 2015 Microsoft