The ReplicationEventSinkConfig object defines the configuration of an event sink.
Note If you want Content Deployment to notify your application when an event occurs, you can provide your own event sink by writing a COM DLL that implements the SiteServerEventSink interface. See Implementing SiteServerEventSink for further information.
The following table briefly describes the ReplicationEventSinkConfig object's methods and properties.
Method | Description |
Commit | Commits changes to the event sink. |
IsRegisteredForEvent | Specifies whether an event sink listens for a given event. |
RegisterForEvent | Specifies an event for which an event sink listens. |
UnRegisterForEvent | Specifies an event for which an event sink no longer listens. |
Property | Description |
CLSID | CLSID or ProgID of the event sink. |
DataSource | Data source name (DSN) of the database. |
Disabled | Specifies whether the event sink is disabled. |
EventLifetime | The number of days to store the event. |
Name | Friendly name for the event sink. |
Password | Password for the local database or forwarding event sink. |
ProjectFilter | Events for which all project event sinks listen. |
ProviderCLSID | ProgID or CLSID of the provider for the forwarding event sink. |
Server | Server to which the forwarding event sink forwards events. |
Synchronous | The property is not implemented. |
UserName | User name for the local database or forwarding event sink. |
Note You must stop and restart the Content Replication server for any event sink changes to take effect. Use the ReplicationServer.Stop method to stop the server and the ReplicationServer.Start method to start the server.