IFsrmFileScreen::Path property

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

Retrieves the directory path associated with the file screen object.

This property is read-only.

Syntax


HRESULT get_Path(
  [out] BSTR *path
);

Property value

The directory path. The path is set when you call the IFsrmFileScreenManager::CreateFileScreen method to create the file screen.

Error codes

The method returns the following return values.

S_OK

Success.

E_INVALIDARG

The path parameter is NULL.

Remarks

Note that the file screen remains associated with the directory if the directory is renamed. If the directory is deleted, so is the file screen.

Examples

For an example, see Updating a File Screen.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

FsrmScreen.h

IDL

FsrmScreen.idl

DLL

SrmSvc.dll

IID

IID_IFsrmFileScreen is defined as 5f6325d3-ce88-4733-84c1-2d6aefc5ea07

See also

IFsrmFileScreen
MSFT_FSRMFileScreen

 

 

Show: