次の方法で共有


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
Status Optional
Structure CLUSPROP_DWORD
Minimum 0
Maximum 0xFFFFFFFF
Default 1200

Remarks

The constant for this property is CLUSREG_NAME_NETNAME_HOST_TTL.

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

Distributed Network Name Private Properties

CLUSPROP_DWORD