RecordTTL Property

This property contains the record Time To Live (TTL) value.

Syntax

ANSI (Cross Platform)
int GetRecordTTL(int iRecordIndex);

Unicode (Windows)
INT GetRecordTTL(INT iRecordIndex);
- (int)recordTTL:(int)recordIndex;
#define PID_DNS_RECORDTTL 16

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_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

0

Remarks

This property contains the record Time To Live (TTL) value. The TTL specifies the time interval in seconds that the record is valid, or the time interval that the record can be cached before the DNS server should be queried again.

The RecordIndex parameter specifies the index of the item in the array. The size of the array is controlled by the RecordCount property.

This property is read-only and 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]