共用方式為


HostRecordTTL

Time To Live (TTL) in seconds to be set for the resource records published for the cluster name. 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 2008 Datacenter, Windows Server 2008 Enterprise

See also

Cluster Name Private Properties

CLUSPROP_DWORD