SetByInputObject method of the PS_DnsServerQueryResolutionPolicy class
Sets the DNS server name resolution policy by input object.
Syntax
uint32 SetByInputObject(
[in] boolean PassThru,
[in] string ComputerName,
[in] DnsServerPolicy InputObject,
[in] string ZoneName,
[out] DnsServerPolicy cmdletOutput
);
Parameters
-
PassThru [in]
-
true to return the current instance in the CmdletOutput parameter. The default is false.
-
ComputerName [in]
-
Optional DNS server name.
-
InputObject [in]
-
The input object to set.
-
ZoneName [in]
-
The name of the zone.
-
cmdletOutput [out]
-
On return, contains a DnsServerPolicy. This parameter returns a value only if PassThru is set to true.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2016 |
Namespace |
Root\Microsoft\Windows\Dns |
MOF |
|
DLL |
|