Export (0) Print
Expand All

IFsrmPropertyBag::Messages property

A list of the error messages that have been added to the bag.

This property is read-only.

Syntax


HRESULT get_Messages(
  [out] SAFEARRAY(VARIANT) *messages
);

Property value

A list of the messages. The SAFEARRAY contains variants of type VT_BSTR. For each item in the array, use the bstrVal member to access the message.

Error codes

The method returns the following return values.

NameMeaning
S_OK

Success

Remarks

The format of the message is module_name,rule_name|message (FSRM adds the module_name,rule_name| components to the message that you specified when calling the IFsrmPropertyBag::AddMessage method).

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::AddMessage

 

 

Show:
© 2015 Microsoft