Windows Dev Center

IFsrmPropertyBag::RelativePath property

The relative path to the file.

This property is read-only.

Syntax


HRESULT get_RelativePath(
  [out] BSTR *path
);

Property value

The relative path to the file.

Error codes

The method returns the following return values.

NameMeaning
S_OK

Success

Remarks

The relative path is the path of the file relative to the volume root. For example, if the path to the file is "P:\folder1\subfolderA\test.txt", the relative path would be "\folder1\subfolderA".

The caller should not expect that the relative path returned will consistently have leading or trailing backslashes.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2

Header

FsrmPipeline.h

DLL

SrmSvc.dll

IID

IID_IFsrmPropertyBag is defined as 774589d1-d300-4f7a-9a24-f7b766800250

See also

IFsrmPropertyBag

 

 

Show:
© 2015 Microsoft