Click or drag to resize

Host Class

Host class
Inheritance Hierarchy
SystemObject
  Koopman.CheckPoint.CommonSimpleChangeTracking
    Koopman.CheckPoint.CommonChangeTracking
      Koopman.CheckPointObjectSummaryHost
        Koopman.CheckPoint.CommonObjectBaseHost
          Koopman.CheckPointHost

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

The Host type exposes the following members.

Constructors
  NameDescription
Public methodCode exampleHost
Create new Host.
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 propertyIPv4Address
Gets or sets the IPv4 address of this host.
Public propertyIPv6Address
Gets or sets the IPv6 address of this host.
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 propertyMetaInfo
Meta Information
(Inherited from ObjectBaseT.)
Public propertyName
Object name. Should be unique in the domain.
(Inherited from ObjectSummaryT.)
Public propertyNATSettings
Gets or sets the NAT settings.
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 host using Host(Session, Boolean)
var h = new Host(Session) {
Name = "MyHost",
IPv4Address = IPAddress.Parse("10.1.1.1")
};
h.AcceptChanges();
Find host using FindHost(String, DetailLevels, CancellationToken)
var h = Session.FindHost("MyHost");
See Also