Find method (PIGroups collection)

                 

 

This method is used to find the names of PIGroup objects that contain all or some of the passed PIUser names. The method returns a NamedValues collection containing the names of the PIGroup objects that meet the passed criteria.

 

Not Implemented

 

Syntax

object.Find nvUserNames, ContainsConstants

The Find method syntax has these parts:

Part

Description

object

An object expression that evaluates to a PIGroups collection.

nvUserNames

A NamedValues collection containing the user names desired.

ContainsConstants

A constant from the ContainsConstants enumeration indicating what type of search to perform. See below.

 

Settings

The settings for ContainsType are:

Setting

Description

cntnsAll

Returned PIGroup names must contain all of the passed users

cntnsSome

Returned PIGroup names need only contain 1 or more of the passed users.

cntnsOnly

Returned PIGroup names must contain only users from the passed list.

 

Remarks

If successful this method returns a NamedValues collection of PIGroup names. If no matching collections are found the returned collection will have a count of 0.

Enabling Operational Intelligence