C# 클래스 DNSManagement.RR.MGType

Represents an MG RR.
상속: ResourceRecord
파일 보기 프로젝트 열기: drorgl/MSDNSWebAdmin

공개 메소드들

메소드 설명
CreateInstanceFromPropertyData ( Server server, string dnsServerName, string containerName, string ownerName, RecordClassEnum recordClass, System.TimeSpan ttl, string mgmailbox ) : MGType

This method instantiates an MG 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 mail group, class (default = IN), time-to-live value and the mailbox name. It returns a reference to the new object as an output parameter.

Modify ( System.TimeSpan ttl, string mgmailbox ) : MGType

This method updates the TTL and MG Mailbox 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

비공개 메소드들

메소드 설명
MGType ( System.Management.ManagementObject mo ) : System

메소드 상세

CreateInstanceFromPropertyData() 공개 정적인 메소드

This method instantiates an MG 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 mail group, class (default = IN), time-to-live value and the mailbox name. 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 mgmailbox ) : MGType
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.
mgmailbox string FQDN specifying a mailbox that is a member of the mail group specified by the record's owner name.
리턴 MGType

Modify() 공개 메소드

This method updates the TTL and MG Mailbox 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 mgmailbox ) : MGType
ttl System.TimeSpan Optional - Time, in seconds, that the RR can be cached by a DNS resolver.
mgmailbox string Optional - FQDN specifying a mailbox that is a member of the mail group specified by the record's owner name.
리턴 MGType

ToString() 공개 메소드

public ToString ( ) : string
리턴 string