IP*Works! V9 - Online Help
IP*Works! V9
Questions / Feedback?

Records Property

Collection of records in the last response.

Syntax

public DNSRecordList getRecords();

Remarks

Once the query is complete, a single Response event will fire, and the following properties will contain the results:

StatusCodeThe success or error code of the DNS query.
StatusA standard string interpretation of StatusCode.
RecordsThe Records in the last DNS response.
RecordSourceThe source (type) of records being listed.

This collection is indexed from 0 to size - 1.

Example (Loop through all fields of all records)


For i = 0 to DNSControl.Records.Count - 1
	For j = 0 to DNSControl.Records.FieldCount(i) - 1
		DNSControl.Records(i).FieldIndex = j
		DoSomethingWith(DNSControl.Records(i).FieldName, DNSControl.Records(i).FieldValue)
	Next j
Next i

This property is read-only and not available at design time.

Default Value

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0