Export (0) Print
Expand All

PS_DhcpServerv4Lease class

DhcpServer v4Lease.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[Dynamic, Provider("DhcpServerPSProvider")]class PS_DhcpServerv4Lease
{
};

Members

The PS_DhcpServerv4Lease class has these types of members:

Methods

The PS_DhcpServerv4Lease class has these methods.

MethodDescription
Add

Adds a new IPv4 address lease in the DHCP server

GetByBadLeases

Gets one or more lease records from the DHCP server

GetByClientId

Gets one or more lease records from the DHCP server

GetByIPAddress

Gets one or more lease records from the DHCP server

GetByScopeId

Gets one or more lease records from the DHCP server

RemoveByBadLeases

Deletes the specified IPv4 address lease record from the DHCP server

RemoveByClientId

Deletes the specified IPv4 address lease record from the DHCP server

RemoveByIPAddress

Deletes the specified IPv4 address lease record from the DHCP server

RemoveByScopeId

Deletes the specified IPv4 address lease record from the DHCP server

 

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2012

Namespace

\root\Microsoft\Windows\DHCP

MOF

DhcpServerPsProvider.mof

DLL

DhcpServerPsProvider.dll

 

 

Show:
© 2014 Microsoft