Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
VolumeName property

IFsrmPropertyBag::VolumeName property

The name of the volume on which the file exists.

This property is read-only.

Syntax


HRESULT get_VolumeName(
  [out] BSTR *volumeName
);

Property value

The name of the volume on which the file exists.

Error codes

The method returns the following return values.

NameMeaning
S_OK

Success

Remarks

This property contains the volume name of the location of the file being scanned. For example, if the path to a file is "P:\folder1\subfolderA\test.txt", the volume name is "P:\".

The caller should not expect that the volume name returned will consistently have a trailing backslash.

The volume name that is returned will always be the name of a live volume. In the case where the file being classified is on a snapshot, the name of the live volume that the snapshot corresponds to will be returned.

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