Click or drag to resize

ApplicationGroup Class

Application Group Class.
Inheritance Hierarchy
SystemObject
  Koopman.CheckPoint.CommonSimpleChangeTracking
    Koopman.CheckPoint.CommonChangeTracking
      Koopman.CheckPointObjectSummaryApplicationGroup
        Koopman.CheckPoint.CommonObjectBaseApplicationGroup
          Koopman.CheckPointApplicationGroup

Namespace:  Koopman.CheckPoint
Assembly:  CheckPoint.NET (in CheckPoint.NET.dll) Version: 0.5.1
Syntax
C#
public class ApplicationGroup : ObjectBase<ApplicationGroup>, 
	IApplicationGroupMember, IObjectSummary
Request Example View Source

The ApplicationGroup type exposes the following members.

Constructors
  NameDescription
Public methodCode exampleApplicationGroup
Create a new ApplicationGroup.
Top
Properties
  NameDescription
Public propertyColor
Color of the object
(Inherited from ObjectBaseT.)
Public propertyComments
Comments string
(Inherited from ObjectBaseT.)
Public propertyDetailLevel
Gets the current detail level of retrieved objects. You will not be able to get the values of some properties if the detail level is too low. You can still set property values however to override existing values.
(Inherited from ObjectSummaryT.)
Public propertyDomain
Information about the domain the object belongs to.
(Inherited from ObjectSummaryT.)
Public propertyGroups
Group memberships.
Public propertyIcon
Object icon
(Inherited from ObjectBaseT.)
Public propertyIsChanged
Gets the object's changed status. Includes checking status of all IChangeTracking properties.
(Inherited from ChangeTracking.)
Public propertyIsNew
Gets a value indicating whether this instance is new.
(Inherited from SimpleChangeTracking.)
Public propertyMembers
Members of this group.
Public propertyMetaInfo
Meta Information
(Inherited from ObjectBaseT.)
Public propertyName
Object name. Should be unique in the domain.
(Inherited from ObjectSummaryT.)
Public propertyObjectType
The object type.
(Overrides ObjectSummaryTObjectType.)
Public propertyReadOnly
Indicates whether the object is read-only
(Inherited from ObjectBaseT.)
Public propertyTags
Tags assigned to object
(Inherited from ObjectBaseT.)
Public propertyType
Type of the object.
(Overrides ObjectSummaryTType.)
Public propertyUID
Object unique identifier.
(Inherited from ObjectSummaryT.)
Top
Methods
  NameDescription
Public methodAcceptChanges(CancellationToken)
Same as calling AcceptChanges(Ignore, CancellationToken) with a value of No;
(Inherited from ObjectSummaryT.)
Public methodAcceptChanges(Ignore, CancellationToken)
Posts all changes to Check Point server. If successful all object properties will be updated with results.
(Inherited from ObjectSummaryT.)
Public methodDelete
Deletes the current object.
(Inherited from ObjectSummaryT.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetIdentifier
Gets the identifier that is used when adding this object to a group.
(Inherited from ObjectSummaryT.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodReload
Reloads the current object. Used to either reset changes made without saving, or to increased the detailLevel to Full
(Inherited from ObjectSummaryT.)
Public methodToString
Returns a String that represents this object.
(Inherited from ObjectSummaryT.)
Top
Examples
Add new group using ApplicationGroup(Session, Boolean)
var group = new ApplicationGroup(Session) {
Name = "MyAppGroup"
};
group.Members.Add("App1");
group.Members.Add("App2");
group.Groups.Add("AnotherAppGroup");
group.AcceptChanges();
Find group using FindApplicationGroup(String, DetailLevels, CancellationToken)
var group = Session.FindApplicationGroup("MyAppGroup");
See Also