Click or drag to resize

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

Runs the script on multiple targets.

Namespace:  Koopman.CheckPoint
Assembly:  CheckPoint.NET (in CheckPoint.NET.dll) Version: 0.5.1
Syntax
C#
public Task<IReadOnlyDictionary<string, string>> RunScript(
	string scriptName,
	string script,
	string args,
	string[] targets,
	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 script arguments.
targets
Type: SystemString
The targets.
comments (Optional)
Type: SystemString
Script comments.
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
The cancellation token.

Return Value

Type: TaskIReadOnlyDictionaryString, String
A task that represents the asynchronous operation. The task result contains a read-only dictionary detailing the Check Point task ID for each target.
See Also