Click or drag to resize

GroupWithExclusion Constructor

Add new group with exclusion using GroupWithExclusion.

Namespace:  Koopman.CheckPoint
Assembly:  CheckPoint.NET (in CheckPoint.NET.dll) Version: 0.5.1
Syntax
C#
public GroupWithExclusion(
	Session session,
	bool setIfExists = false
)
Request Example View Source

Parameters

session
Type: Koopman.CheckPointSession
The current session.
setIfExists (Optional)
Type: SystemBoolean
if set to true if another object with the same name already exists, it will be updated. Pay attention that original object's fields will be overwritten by the fields provided in the request payload!.
Examples
var gwe = new GroupWithExclusion(Session) {
Name = "MyGroupWithExclusion",
Include = ObjectSummary.Any,
Except = Session.FindGroup("ExcludeGroup")
};
gwe.AcceptChanges();
See Also