C# Class DNSManagement.RR.MXType

Represents a Mail Exchanger (MX) RR.
Inheritance: ResourceRecord
Afficher le fichier Open project: drorgl/MSDNSWebAdmin

Méthodes publiques

Méthode Description
Modify ( System.TimeSpan ttl, UInt16 preference, string mailExchange ) : MXType

Updates the TTL, Preference, and Mail Exchange 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.

ToString ( ) : string

Private Methods

Méthode Description
CreateInstanceFromPropertyData ( Server server, string dnsServerName, string containerName, string ownerName, RecordClassEnum recordClass, System.TimeSpan ttl, UInt16 preference, string mailExchange ) : MXType
MXType ( System.Management.ManagementObject mo ) : System

Method Details

Modify() public méthode

Updates the TTL, Preference, and Mail Exchange 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.
public Modify ( System.TimeSpan ttl, UInt16 preference, string mailExchange ) : MXType
ttl System.TimeSpan Optional - Time, in seconds, that the RR can be cached by a DNS resolver.
preference System.UInt16 Optional - Preference given to this RR among others at the same owner. Lower values are preferred.
mailExchange string Optional - FQDN specifying a host willing to act as a mail exchange for the owner name.
Résultat MXType

ToString() public méthode

public ToString ( ) : string
Résultat string