AgentJobHistoryInfo.LastRunMessage Property

Gets or sets the last message logged from a replication agent.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public Property LastRunMessage As String
    Get
    Set
'Usage
Dim instance As AgentJobHistoryInfo
Dim value As String

value = instance.LastRunMessage

instance.LastRunMessage = value
public string LastRunMessage { get; set; }
public:
property String^ LastRunMessage {
    String^ get ();
    void set (String^ value);
}
member LastRunMessage : string with get, set
function get LastRunMessage () : String
function set LastRunMessage (value : String)

Property Value

Type: System.String
A String value that specifies the message.

Remarks

This namespace, class, or member is supported only in the .NET Framework 2.0.