Job.ApplyToTargetServer(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.