CReplicationServer.EnumEventSinks Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Retrieves the event sinks defined for the Commerce Server Staging (CSS) service on the server.
object EnumEventSinks(ref object iterator)
Parameters
- iterator
Used by the service to enumerate the list of event sinks. This value should be initialized to 0 (zero) and should not be modified.
Return Value
The CReplicationEventSinkConfig object for this iteration.
Remarks
This method sets Err.Number to -1073680644 (“No event sinks defined.”) when there are no event sinks defined on the server, and to -2147422485 (“No more items.”) to indicate the end of the enumeration.
The following table shows the programmatic identifiers (ProgIDs) of the event sinks that are defined.
Event sink ProgID |
Description |
---|---|
CSSSink.CSSDBSink |
The local database event sink, such as CSSLocalEvents. |
CSSSink.CSSMailSink |
The mail event sink. This event sink is also identified by its Name property, Mail. |
CSSSink.CSSNTSink |
The Microsoft Windows NT event sink. This event sink is also identified by its Name property, NT. |
The CReplicationServer.EnumEventSinks method corresponds to the COM method named ReplicationServer.EnumEventSinks.