Export (0) Print
Expand All

IFsrmPropertyBag::SetFileProperty method

Sets the specified property in the property bag.

Syntax


HRESULT SetFileProperty(
  [in]  BSTR name,
  [in]  BSTR value
);

Parameters

name [in]

The name of the property to set.

value [in]

The value to set the property to.

Return value

The method returns the following return values.

Return codeDescription
S_OK

Success

E_ACCESSDENIED

The caller is not authorized for the specified level of access to the file. For more information, see the Remarks section.

 

Remarks

The caller must be a storage module to obtain access to this property.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2

DLL

SrmSvc.dll

IID

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

See also

IFsrmPropertyBag
IFsrmPropertyBag::GetFileProperty

 

 

Show:
© 2014 Microsoft