IFsrmPropertyBag2::GetFieldValue method

Gets the value of the specified field from the property bag.

Syntax


HRESULT GetFieldValue(
  [in]          FsrmPropertyBagField field,
  [out, retval] VARIANT              *value
);

Parameters

field [in]

Type: FsrmPropertyBagField

Indicates whether the volume name returned is the name of the volume being accessed, which may be a snapshot, or the volume where the property bag lives.

value [out, retval]

Type: VARIANT*

Returns the specified value.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2012

Header

FsrmPipeline.h

IDL

FsrmPipeline.idl

DLL

SrmSvc.dll

IID

IID_IFsrmPropertyBag2 is defined as 0e46bdbd-2402-4fed-9c30-9266e6eb2cc9

See also

IFsrmPropertyBag2
FsrmPropertyBagField

 

 

Show: