Freigeben über


GetByIPAddress method of the PS_DhcpServerv4Reservation class

Gets the IPv4 reservation(s) for the specified IP addresses or client identifiers. If only a scope identifier is specified, all IPv4 reservations from the specified scope are returned.

Syntax

uint32 GetByIPAddress(
  [in]  string                  IPAddress[],
  [in]  string                  ComputerName,
  [out] DhcpServerv4Reservation cmdletOutput[]
);

Parameters

IPAddress [in]

The IPv4 address(es) of the reservations which are to be retrieved.

ComputerName [in]

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

cmdletOutput [out]

An embedded instance of the DhcpServerv4Reservation class.

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_DhcpServerv4Reservation