共用方式為


EnableEventLogReplication

[This property is available for use only in Windows Server 2003.]

Controls whether the system, application, and security event log entries of all the node's are replicated across the entire cluster.

Attribute Value
Data type
DWORD
Access
Read/write
Structure
CLUSPROP_DWORD
Minimum
FALSE (0). The node's event log entries are not replicated across the entire cluster.
Maximum
TRUE (1). The node's event log entries are replicated across the entire cluster.
Default
TRUE

Remarks

The EnableEventLogReplication property only affects events logged to a node's system, application, and security logs.

Examples

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

CLUSPROP_DWORD PropertyValue;

PropertyValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_DWORD;
PropertyValue.cbLength  = sizeof(DWORD);
PropertyValue.dw        = FALSE;

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2003 Enterprise, Windows Server 2003 Datacenter
End of server support
Windows Server 2003 Datacenter, Windows Server 2003 Enterprise

See also

Cluster Common Properties

CLUSPROP_DWORD