次の方法で共有


Restore method of the PS_DhcpServer class

Restores the database of the DHCP Server from the specified location.

Syntax

uint32 Restore(
  [in] string  ComputerName,
  [in] string  Path,
  [in] boolean Force
);

Parameters

ComputerName [in]

DNS name or IP address of the target computer running the DHCP server service.

Path [in]

Path to the location where the backup database is stored.

Force [in]

If specified, user confirmation will not be sought.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\DHCP
MOF
DhcpServerPsProvider.mof
DLL
DhcpServerPsProvider.dll

See also

PS_DhcpServer