DnsServerResourceRecordSrv class
DNS Server Resource Record.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.
Syntax
class DnsServerResourceRecordSrv : DnsServerResourceRecordData
{
uint16 Priority;
uint16 Weight;
uint16 Port;
string DomainName;
};
Members
The DnsServerResourceRecordSrv class has these types of members:
Properties
The DnsServerResourceRecordSrv class has these properties.
- DomainName
-
- Data type: string
- Access type: Read-only
Container Name.
- Port
-
- Data type: uint16
- Access type: Read-only
Service Port.
- Priority
-
- Data type: uint16
- Access type: Read-only
Priority.
- Weight
-
- Data type: uint16
- Access type: Read-only
Weight.
Requirements
|
Minimum supported client | Windows 8 [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2012 [desktop apps only] |
|
Namespace |
\root\Microsoft\Windows\Dns |
|
MOF |
|
Build date: 12/6/2012
