C# Класс DNSManagement.RR.AFSDBType

Represents an Andrew File System Database Server (AFSDB) RR.
Наследование: ResourceRecord
Показать файл Открыть проект

Открытые методы

Метод Описание
CreateInstanceFromPropertyData ( Server server, string dnsServerName, string containerName, string ownerName, RecordClassEnum recordClass, System.TimeSpan ttl, SubtypeEnum subtype, string serverName ) : AFSDBType

Instantiates an AFSDB Resource Record based on the data in the method's input parameters: the record's DNS Server Name, Container Name, Owner/Cell Name, class (default = IN), time-to-live value, and host AFS server subtype and name. Returns a reference to the new object as an output parameter.

Modify ( System.TimeSpan ttl, SubtypeEnum subType, string serverName ) : AFSDBType

updates the TTL, Subtype and Server 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

Приватные методы

Метод Описание
AFSDBType ( System.Management.ManagementObject mo ) : System

Описание методов

CreateInstanceFromPropertyData() публичный статический Метод

Instantiates an AFSDB Resource Record based on the data in the method's input parameters: the record's DNS Server Name, Container Name, Owner/Cell Name, class (default = IN), time-to-live value, and host AFS server subtype and name. 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, SubtypeEnum subtype, string serverName ) : AFSDBType
server Server Server object
dnsServerName string 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 name 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.
subtype SubtypeEnum Subtype of the host AFS server.
serverName string FQDN specifying a host that has a server for the AFS cell specified in the owner name.
Результат AFSDBType

Modify() публичный Метод

updates the TTL, Subtype and Server 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.
public Modify ( System.TimeSpan ttl, SubtypeEnum subType, string serverName ) : AFSDBType
ttl System.TimeSpan Time, in seconds, that the RR can be cached by a DNS resolver.
subType SubtypeEnum Subtype of the host AFS server.
serverName string FQDN specifying a host that has a server for the AFS cell specified in the owner name.
Результат AFSDBType

ToString() публичный Метод

public ToString ( ) : string
Результат string