IFsrmPropertyBag.Messages Property


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

Namespace:   Microsoft.Storage
Assembly:  srmlib (in srmlib.dll)


object[] Messages { get; }
property array<Object^>^ Messages {
    array<Object^>^ get();
abstract Messages : Object[] with get
ReadOnly Property Messages As Object()

Property Value

Type: System.Object[]

Returns a Object containing 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.


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 AddMessage method).

See Also

IFsrmPropertyBag Interface
Microsoft.Storage Namespace

Return to top