Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 |
|