Job.ApplyToTargetServer(String) Method

Definition

ApplyToTargetServer adds an execution target to the list of targets maintained for the referenced Agent job.

public void ApplyToTargetServer (string serverName);
member this.ApplyToTargetServer : string -> unit
Public Sub ApplyToTargetServer (serverName As String)

Parameters

serverName
String

Name of the target server. When null or empty string the job is applied against local server.

Applies to