The subclass of MicrosoftDNS_ResourceRecord that represents a Mail Agent for Domain (MD) record.
The following syntax is simplified from MOF code.
Syntax
class MicrosoftDNS_MDType : MicrosoftDNS_ResourceRecord
{
string MDHost;
};
Members
The MicrosoftDNS_MDType class has these types of members:
Methods
The MicrosoftDNS_MDType class has these methods.
| Method | Description |
|---|---|
| CreateInstanceFromPropertyData | Instantiates a DNS MD Resource Record based on the data in the method's input parameters: the record's DNS Server Name, Container Name, Owner Name of the domain, class (default = IN), time-to-live value and the host of the mail agent. It returns a reference to the new object as an output parameter. Qualifiers: Implemented, static |
| Modify | Updates the TTL and MD host to the values specified as the input parameters of this method. If a new value for a parameter is not specified, then the current value for the parameter is not changed. The method returns a reference to the modified object as an output parameter. Qualifiers: Implemented |
Properties
The MicrosoftDNS_MDType class has these properties.
MDHost
Data type: string
Access type: Read-only
FQDN that specifies a host with a mail agent capable of delivering mail for the specified domain.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | None supported |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Namespace | Root\MicrosoftDNS |
| MOF | Dnsprov.mof |
See also
CreateInstanceFromPropertyData Method of the MicrosoftDNS_MDType Class
Modify Method of the MicrosoftDNS_MDType Class
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
