IFsrmFileScreenManager interface

Used to manage file screen objects.

To get this interface, call the CoCreateInstanceEx function. Use CLSID_FsrmFileScreenManager as the class identifier and __uuidof(IFsrmFileScreenManager) as the interface identifier. For an example, see Defining a File Screen.

Members

The IFsrmFileScreenManager interface inherits from the IDispatch interface. IFsrmFileScreenManager also has these types of members:

Methods

The IFsrmFileScreenManager interface has these methods.

MethodDescription
CreateFileScreen

Creates a file screen object.

CreateFileScreenCollection

Creates an empty collection to which you can add file screens.

CreateFileScreenException

Creates a file screen exception object.

EnumFileScreenExceptions

Enumerates the file screen exceptions for the specified directory and its subdirectories.

EnumFileScreens

Enumerates the file screens for the specified directory and its subdirectories.

GetFileScreen

Retrieves the specified file screen.

GetFileScreenException

Retrieves the specified file screen exception.

 

Properties

The IFsrmFileScreenManager interface has these properties.

PropertyAccess typeDescription

ActionVariableDescriptions

Read-only

Retrieves the descriptions for the macros contained in the ActionVariables property.

ActionVariables

Read-only

Retrieves a list of macros that you can specify in action property values.

 

Remarks

file screen restricts the types of files that can be stored in a specific directory and its subdirectories. For each file screen, there is a configurable list of blocked file groups that define a set of patterns (that are based on file name) that will be restricted. When a file is created or renamed, the server evaluates whether the file name matches a pattern in any file group configured on a parent portion of the path. If a match is found, the file is blocked and a set of actions are initiated.

In addition to configuring file screens, you can create a file screen exception that defines a list of file groups that are specifically allowed in a specific directory and its subdirectories. Typically, you will configure a file screen exception on a directory that is in the subtree of a directory with a file screen. In this case, the file screen exception list takes precedence when evaluating screening rules; files with names that match the name patterns in the allowed file groups will not be blocked.

You can create a file screen or a file screen template. The template is used to modify properties in bulk by applying the changes to file screens that derive from the file screen template.

To create this object from a script, use the "Fsrm.FsrmFileScreenManager" program identifier.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

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

DLL

SrmSvc.dll

CLSID

CLSID_FsrmFileScreenManager is defined as 95941183-db53-4c5f-b37b-7d0921cf9dc7

IID

IID_IFsrmFileScreenManager is defined as ff4fa04e-5a94-4bda-a3a0-d5b4d3c52eba

See also

FSRM Interfaces
FsrmFileScreenManager

 

 

Show:
© 2014 Microsoft