Compartir a través de


HostRecordTTL

Specifies the time to live (TTL), in seconds, to be set for the resource records published for the virtual machine replication broker. The following table summarizes the attributes of the HostRecordTTL property.

Attribute Value
Data type DWORD
Access Read/write
Structure CLUSPROP_DWORD
Minimum 0
Maximum 0xFFFFFFFF
Default 1200

Examples

The property value portion of a property list entry for HostRecordTTL can be set with the following example code.

DWORD          HostRecordTTLData = 1200;
CLUSPROP_DWORD HostRecordTTLValue;

HostRecordTTLValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_DWORD;
HostRecordTTLValue.cbLength  = sizeof(DWORD);
HostRecordTTLValue.dw        = HostRecordTTLData;

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012

See also

Virtual Machine Replication Broker Private Properties

CLUSPROP_DWORD