IFsrmFileScreenBase::BlockedFileGroups property

Retrieves or sets the names of the file groups that contain the file name patterns used to specify the files that are blocked by this screen.

This property is read/write.

Syntax


HRESULT put_BlockedFileGroups(
  [in]   IFsrmMutableCollection *blockList
);

HRESULT get_BlockedFileGroups(
  [out]  IFsrmMutableCollection **blockList
);

Property value

An IFsrmMutableCollection interface that contains a collection of the file group names.

Each item in the collection is a VARIANT of type VT_BSTR. Set the bstrVal member of the variant to the group name.

Error codes

The method returns the following return values.

NameMeaning
S_OK

Success.

E_INVALIDARG

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

Remarks

To specify the blocked group names on a new screen, access this property to get an empty collection and then add the group names to the collection.

Examples

For an example, see Using Templates to Define File Screens.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

FsrmScreen.h (include FsrmScreen.h or FsrmTlb.h)

IDL

FsrmScreen.idl

DLL

SrmSvc.dll

IID

IID_IFsrmFileScreenBase is defined as f3637e80-5b22-4a2b-a637-bbb642b41cfc

See also

IFsrmFileScreenBase

 

 

Show:
© 2014 Microsoft