메소드 | 설명 | |
---|---|---|
CreateInstanceFromPropertyData ( Server server, string dnsServerName, string containerName, string ownerName, RecordClassEnum recordClass, System.TimeSpan ttl, |
Instantiates an SRV Type of RR based on the data in the method's input parameters: the record's DNS Server Name, Container Name, Owner/target Name, class (default = IN), time-to-live value, and target host's priority, weight, port, and domain name. It returns a reference to the new object as an output parameter.
|
|
Modify ( System.TimeSpan ttl, |
Updates the TTL, Priority, Weight, Port, and Domain Name 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 |
메소드 | 설명 | |
---|---|---|
SRVType ( System.Management.ManagementObject mo ) : System |
public static CreateInstanceFromPropertyData ( Server server, string dnsServerName, string containerName, string ownerName, RecordClassEnum recordClass, System.TimeSpan ttl, |
||
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. |
priority | Priority of the target host specified in the owner name. Lower numbers imply higher priorities. | |
weight | Weight of the target host. This is useful when selecting among hosts that have the same priority. The chances of using this host should be proportional to its weight. | |
port | Port used on the target host of a protocol service. | |
domainName | string | FQDN of the target host. A target of \.\ means that the service is decidedly not available at this domain. |
리턴 |
public Modify ( System.TimeSpan ttl, |
||
ttl | System.TimeSpan | Optional - Time, in seconds, that the RR can be cached by a DNS resolver. |
priority | Optional - Priority of the target host specified in the owner name. Lower numbers imply higher priorities. | |
weight | Optional - Weight of the target host. This is useful when selecting among hosts that have the same priority. The chances of using this host should be proportional to its weight. | |
port | Optional - Port used on the target host of a protocol service. | |
srvDomainName | string | |
리턴 |