Share via


AgentCore.Output Property

Gets or sets the name and path of the agent output file.

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

Syntax

'Declaration
Public Property Output As String 
    Get 
    Set
'Usage
Dim instance As AgentCore 
Dim value As String 

value = instance.Output

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

Property Value

Type: System.String
The file name with an optional file path.

Remarks

If the specified file name exists, the output is appended to the file. If the path is not specified, then the output file is created in the current directory of the application that started the agent.

See Also

Reference

AgentCore Class

Microsoft.SqlServer.Replication Namespace