PrecreateWindowsComputer

Adds an existing Windows computer to a zone.

Syntax

IComputer PrecreateWindowsComputer(DirectoryEntry adComputerEntry);

IComputer PrecreateWindowsComputer(DirectoryEntry adComputerEntry, bool skipPermissionSetting);

Parameters

Specify the following parameter when using this method.

Parameter Description
adComputerEntry The DNS host name of the Windows computer object you wish to add to the zone.
skipPermissionSetting Specifies if permission delegation is skipped when precreating computers.

Return value

The computer object that is added to the zone.