Click or drag to resize

SessionRunScript Method (String, String, String, String, String, CancellationToken)

Runs the script on a single target.

Namespace:  Koopman.CheckPoint
Assembly:  CheckPoint.NET (in CheckPoint.NET.dll) Version: 0.5.1
Syntax
C#
public Task<string> RunScript(
	string scriptName,
	string script,
	string args,
	string target,
	string comments = null,
	CancellationToken cancellationToken = null
)
Request Example View Source

Parameters

scriptName
Type: SystemString
Name of the script.
script
Type: SystemString
The script.
args
Type: SystemString
The arguments.
target
Type: SystemString
The target.
comments (Optional)
Type: SystemString
The script comments.
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
The cancellation token.

Return Value

Type: TaskString
A task that represents the asynchronous operation. The task result contains the Check Point task ID
See Also