GetDirectoryEntry

Returns an instance of the DirectoryEntry object for the zone.

Syntax

DirectoryEntry GetDirectoryEntry()

Return value

The DirectoryEntry of the zone.

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.