Click or drag to resize

SessionFindAccessRule Method

Finds the access rule by rule number.

Namespace:  Koopman.CheckPoint
Assembly:  CheckPoint.NET (in CheckPoint.NET.dll) Version: 0.5.1
Syntax
C#
public Task<AccessRule> FindAccessRule(
	string layer,
	int ruleNumber,
	DetailLevels detailLevel = DetailLevels.Standard,
	CancellationToken cancellationToken = null
)
Request Example View Source

Parameters

layer
Type: SystemString
The layer.
ruleNumber
Type: SystemInt32
The rule number.
detailLevel (Optional)
Type: Koopman.CheckPointDetailLevels
The detail level.
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
The cancellation token.

Return Value

Type: TaskAccessRule
A task that represents the asynchronous operation. The task result contains the AccessRule
See Also