Export (0) Print
Expand All
Expand Minimize

DhcpServerv4Scope class

Dhcp Server v4 Scope.

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

Syntax

[Dynamic, Provider("Provider("DhcpServerPSProvider")")]class DhcpServerv4Scope
{
  string   ScopeId;
  string   Name;
  string   Description;
  string   SubnetMask;
  string   StartRange;
  string   EndRange;
  string   SuperscopeName;
  DateTime LeaseDuration;
  string   NapProfile;
  boolean  NapEnable;
  uint16   Delay;
  string   State;
  string   Type;
  uint32   MaxBootpClients;
  boolean  ActivatePolicies;
};

Members

The DhcpServerv4Scope class has these types of members:

Properties

The DhcpServerv4Scope class has these properties.

ActivatePolicies
Data type: boolean
Access type: Read/write

Indicates if policy enforcement is enabled/disabled for the scope

Delay
Data type: uint16
Access type: Read/write

Delay (in ms) with which server leases addresses from this scope

Description
Data type: string
Access type: Read/write

Description of the given scope on Dhcp server

EndRange
Data type: string
Access type: Read/write

End point or last address of IPRange available from where scope can lease out ipaddress

LeaseDuration
Data type: DateTime
Access type: Read/write

Duration for which each Dhcp Lease is leased out by the Dhcp server

MaxBootpClients
Data type: uint32
Access type: Read/write

Maximum number of bootp clients to which address can be leased out by given scope of Dhcp server

Name
Data type: string
Access type: Read/write

Name of the given scope on Dhcp server

NapEnable
Data type: boolean
Access type: Read/write

Indicates if Nap setting is enabled for given scope on Dhcp server

NapProfile
Data type: string
Access type: Read/write

Nap profile for given scope on Dhcp server

ScopeId
Data type: string
Access type: Read/write

Scope identifier(unique) for the given scope on Dhcp server

StartRange
Data type: string
Access type: Read/write

Starting point or first address of IPRange available from where scope can lease out ipaddress

State
Data type: string
Access type: Read/write

State of given scope on Dhcp server, whether its functional(active) or not

SubnetMask
Data type: string
Access type: Read/write

Subnet Mask for the given scope on Dhcp server

SuperscopeName
Data type: string
Access type: Read/write

Name of Superscope to which given scope belongs

Type
Data type: string
Access type: Read/write

The type of clients to which given scope of Dhcp server leases out ipaddress

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2012

Namespace

\root\Microsoft\Windows\DHCP

MOF

DhcpServerPsProvider.mof

 

 

Show:
© 2014 Microsoft