Find

Returns the specific parent container object from the collection of all parent license containers in the forest.

Syntax

ILicenses Find(DirectoryEntry licenseContainer)

Parameter

Specify the following parameter when using this method:

Parameter Description

licenseContainer

The Licenses parent container object to retrieve.

Return value

The specified Licenses container object. The container contains the $CimsLicenseVersionX object.

Discussion

This method can only be used in .NET programs because DirectoryEntry is a .NET‑specific class for directory objects. This method cannot be used in COM-based programs.