Previous Topic: Add Method—Adds an Agent, Response, Rule, or Nested Group Object to the Group

Next Topic: Description Method—Sets or Retrieves the Description of the Group Object

Contains Method—Determines whether the Group Contains the Specified Agent, Response, Rule, or Nested Group Object

The Contains method determines whether the group contains the specified agent, response, rule, or nested group object.

Syntax

The Contains method has the following format:

Netegrity::PolicyMgtGroup‑>Contains(object)

Parameters

The Contains method accepts the following parameter:

object (objectType)

Specifies the object to check. objectType can be any one of the following:

Return Value

The Contains method returns one of the following values:


Copyright © 2010 CA. All rights reserved. Email CA about this topic