C# Class DNSManagement.RR.WINSType

Represents a WINS RR.
Inheritance: ResourceRecord
显示文件 Open project: drorgl/MSDNSWebAdmin

Public Methods

Method Description
CreateInstanceFromPropertyData ( Server server, string dnsServerName, string containerName, string ownerName, RecordClassEnum recordClass, System.TimeSpan ttl, MappingFlagEnum mappingFlag, System.TimeSpan lookupTimeout, System.TimeSpan cacheTimeout, string winsServers ) : WINSType

Instantiates a WINS Type of RR based on the data in the method's input parameters: the record's DNS Server Name, Container Name, Owner Name, class (default = IN), time-to-live value, and WINS mapping flag, look-up time out, cache time out and list of IP addresses for look up. It returns a reference to the new object as an output parameter.

ToString ( ) : string

Private Methods

Method Description
Modify ( System.TimeSpan ttl, MappingFlagEnum mappingFlag, System.TimeSpan lookupTimeout, System.TimeSpan cacheTimeout, string winsServers ) : WINSType
WINSType ( System.Management.ManagementObject mo ) : System

Method Details

CreateInstanceFromPropertyData() public static method

Instantiates a WINS Type of RR based on the data in the method's input parameters: the record's DNS Server Name, Container Name, Owner Name, class (default = IN), time-to-live value, and WINS mapping flag, look-up time out, cache time out and list of IP addresses for look up. 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, MappingFlagEnum mappingFlag, System.TimeSpan lookupTimeout, System.TimeSpan cacheTimeout, string winsServers ) : WINSType
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.
mappingFlag MappingFlagEnum WINS mapping flag that specifies whether the record must be included into the zone replication
lookupTimeout System.TimeSpan Time, in seconds, that a DNS Server attempts resolution using WINS Look up.
cacheTimeout System.TimeSpan Time, in seconds, that a DNS Server using WINS Look up may cache the WINS server's response.
winsServers string List of comma-separated IP addresses of WINS servers used in WINS Look ups.
return WINSType

ToString() public method

public ToString ( ) : string
return string