C# Class DNSManagement.RR.MFType

Represents a Mail Forwarding Agent for Domain (MF) RR.
Inheritance: ResourceRecord
Afficher le fichier Open project: drorgl/MSDNSWebAdmin

Méthodes publiques

Méthode Description
CreateInstanceFromPropertyData ( Server server, string dnsServerName, string containerName, string ownerName, RecordClassEnum recordClass, System.TimeSpan ttl, string mfhost ) : MFType

This method instantiates an MF Type of RR 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.

Modify ( System.TimeSpan ttl, string mfhost ) : MFType

This method updates the TTL and MF 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.

ToString ( ) : string

Private Methods

Méthode Description
MFType ( System.Management.ManagementObject mo ) : System

Method Details

CreateInstanceFromPropertyData() public static méthode

This method instantiates an MF Type of RR 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.
public static CreateInstanceFromPropertyData ( Server server, string dnsServerName, string containerName, string ownerName, RecordClassEnum recordClass, System.TimeSpan ttl, string mfhost ) : MFType
server Server Server object
dnsServerName string Fully Qualified Domain Name (FQDN) or IP address of the DNS Server that contains this RR.
containerName string Name of the Container for the Zone, Cache, or RootHints instance which contains this RR.
ownerName string Owner FQDN for the RR.
recordClass RecordClassEnum Class of the RR.
ttl System.TimeSpan Time, in seconds, that the RR can be cached by a DNS resolver.
mfhost string Name of the host that provides the mail forwarding agent.
Résultat MFType

Modify() public méthode

This method updates the TTL and MF 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.
public Modify ( System.TimeSpan ttl, string mfhost ) : MFType
ttl System.TimeSpan Optional - Time, in seconds, that the RR can be cached by a DNS resolver.
mfhost string Optional - Name of the host that provides the mail forwarding agent.
Résultat MFType

ToString() public méthode

public ToString ( ) : string
Résultat string