다음을 통해 공유


FsrmFileScreenManagerClass.CreateFileScreen Method (String)

 

Creates a file screen object.

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

Syntax

public virtual IFsrmFileScreen CreateFileScreen(
    string Path
)
public:
virtual IFsrmFileScreen^ CreateFileScreen(
    String^ Path
)
abstract CreateFileScreen : 
        Path:string -> IFsrmFileScreen
override CreateFileScreen : 
        Path:string -> IFsrmFileScreen
Public Overridable Function CreateFileScreen (
    Path As String
) As IFsrmFileScreen

Parameters

  • Path
    Type: System.String

    The local directory path to which the file screen applies. The string is limited to 260 characters.

Return Value

Type: Microsoft.Storage.IFsrmFileScreen

Returns a IFsrmFileScreen interface of the newly created file screen. To add the file screen to FSRM, call the IFsrmFileScreen.Commit method.

Implements

IFsrmFileScreenManager.CreateFileScreen(String)

Remarks

The screen applies to the directory and all its subdirectories (recursively). For example, a screen on P:\directory that blocks *.mp3 also blocks MP3 files on P:\directory\subdirectory.

If you create a file screen on P:\directory\subdirectory, the screen that you created on P:\directory still applies to P:\directory\subdirectory. If you do not want the screen on P:\directory to apply to P:\directory\subdirectory, you need to create a file screen exception.

See Also

IFsrmFileScreenManager
FsrmFileScreenManager
FsrmFileScreenManagerClass Class
Microsoft.Storage Namespace

Return to top