Share via


PSJob.StatusMessage Property

Gets the success message for the PSJob.

Namespace: System.Management.Automation
Assembly: System.Management.Automation (in system.management.automation.dll)

Usage

Syntax

'Declaration
Public MustOverride ReadOnly Property StatusMessage As String
public abstract string StatusMessage { get; }
public:
virtual property String^ StatusMessage {
    String^ get () abstract;
}
/** @property */
public abstract String get_StatusMessage ()
public abstract function get StatusMessage () : String

Property Value

The success message for the PSJob. This message indicates that the command executed successfully in all runspaces.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP

See Also

Reference

PSJob Class
PSJob Members
System.Management.Automation Namespace