The ReplicationEventSinkConfig object defines the configuration of an event sink.
Note
You can create you own event sink by writing a COM DLL implementation of the ReplicationEventSink object.
The following table briefly describes the ReplicationEventSinkConfig object's methods and properties.
Method | Description |
Commit | Commits changes to the event sink. |
IsRegisteredForEvent | Whether 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 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 store-and-forward event sink. |
ProjectFilter | Events for which all project event sinks listen. |
ProviderCLSID | ProgID or CLSID of the provider for the store-and-forward event sink. |
Server | Server to which the store-and-forward event sink forwards events. |
UserName | User name for the local database or store-and-forward 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.