RecordSource Property

The source of records provided in the Records properties.

Syntax

ANSI (Cross Platform)
int GetRecordSource();
int SetRecordSource(int iRecordSource); Unicode (Windows) INT GetRecordSource();
INT SetRecordSource(INT iRecordSource);

Possible Values

RS_ANSWER_SECTION(0), 
RS_NAME_SERVER_SECTION(1),
RS_ADDITIONAL_RECORDS_SECTION(2)
@property (nonatomic,readwrite,assign,getter=recordSource,setter=setRecordSource:) int recordSource;
- (int)recordSource;
- (void)setRecordSource:(int)newRecordSource;

Possible Values

RS_ANSWER_SECTION(0), 
RS_NAME_SERVER_SECTION(1),
RS_ADDITIONAL_RECORDS_SECTION(2)
#define PID_DNS_RECORDSOURCE 17

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_DNS_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_DNS_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

0

Remarks

This property contains the source of records provided in the Records properties and can have one of the following values:

rsAnswerSection (0)Records answering the question/query.
rsNameServerSection (1)Records pointing toward an authoritative name server.
rsAdditionalRecordsSection (2)Records holding additional information.

This property is not available at design time.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8307]