PSJobProxy.RemoveJobAsync 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.
Overloads
RemoveJobAsync(Boolean) |
Removes the job on the remote server. The job output that has been transferred to this client object will be preserved. |
RemoveJobAsync(Boolean, Boolean) |
Removes the job on the remote server. The job output that has been transferred to this client object will be preserved. |
RemoveJobAsync(Boolean)
Removes the job on the remote server. The job output that has been transferred to this client object will be preserved.
public:
void RemoveJobAsync(bool removeRemoteJob);
public:
void RemoveJobAsync(bool removeRemoteJob);
void RemoveJobAsync(bool removeRemoteJob);
public void RemoveJobAsync (bool removeRemoteJob);
member this.RemoveJobAsync : bool -> unit
Public Sub RemoveJobAsync (removeRemoteJob As Boolean)
Parameters
- removeRemoteJob
- Boolean
Indicates whether the remove operation should be applied to the remote or local job.
Applies to
RemoveJobAsync(Boolean, Boolean)
Removes the job on the remote server. The job output that has been transferred to this client object will be preserved.
public:
void RemoveJobAsync(bool removeRemoteJob, bool force);
public:
void RemoveJobAsync(bool removeRemoteJob, bool force);
void RemoveJobAsync(bool removeRemoteJob, bool force);
public void RemoveJobAsync (bool removeRemoteJob, bool force);
member this.RemoveJobAsync : bool * bool -> unit
Public Sub RemoveJobAsync (removeRemoteJob As Boolean, force As Boolean)
Parameters
- removeRemoteJob
- Boolean
Indicates whether the remove operation should be applied to the remote or local job.
- force
- Boolean
Force will stop the job on the server before attempting removal.