Compartilhar via


PSJobProxy.RemoveJobAsync Method

Definition

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.

Applies to