Partager via


GetByName method of the PS_DhcpServerv4Failover class

Gets the failover relationships configured on the server for the specific failover relationship name.

Syntax

uint32 GetByName(
  [in]  string               ComputerName,
  [in]  string               Name[],
  [out] DhcpServerv4Failover cmdletOutput[]
);

Parameters

ComputerName [in]

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

Name [in]

Name(s) of the failover relationship(s) whose properties are to be returned

cmdletOutput [out]

An embedded instance of a DhcpServerv4Failover object.

Requirements

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

See also

PS_DhcpServerv4Failover