次の方法で共有


EnableEventLogReplication

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

Controls whether a node's system, application, and security event log entries are replicated in the event logs of all other cluster nodes.

Attribute Value
Data type
DWORD
Access
Read/write
Structure
CLUSPROP_DWORD
Minimum
FALSE (0). The node's event log entries are not replicated to the other cluster nodes.
Maximum
TRUE (1). The node's event log entries are replicated event logs of all other cluster nodes.
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

CLUSPROP_DWORD