CReplicationEventSinkConfig Class

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Defines the configuration of an event sink.

Note

This class supports Commerce Server Staging (CSS), but its methods and properties should not be used directly from your code, except for the following three methods: IsRegisteredForEvent, RegisterForEvent, UnRegisterForEvent.

Methods

Method

Description

Commit

Commits changes to a CSS event sink. Microsoft internal use only.

IsRegisteredForEvent

Determines whether a CSS event sink monitors a specified event.

RegisterForEvent

Specifies an event for a CSS event sink to monitor.

UnRegisterForEvent

Indicates that a specified event should no longer be monitored by a CSS event sink.

Properties

Property

Description

CLSID

Gets or sets the CLSID or ProgID of the event sink. Microsoft internal use only.

DataSource

Gets or sets the data source name (DSN) of a CSS event sink database. Microsoft internal use only.

Disabled

Gets or sets the enabled/disabled status of a CSS event sink. Microsoft internal use only.

EventLifetime

Gets or sets the number of days to store an event in a CSS event sink. Microsoft internal use only.

Name

Gets or sets the name of a CSS event sink. Microsoft internal use only.

Password

Gets or sets the password for the local database of a CSS event sink. Microsoft internal use only.

ProjectFilter

Gets or sets the name of the CSS project that an event sink monitors. Microsoft internal use only.

ProviderCLSID

Gets or sets the CLSID or ProgID of the provider for a store-and-forward CSS event sink database. Microsoft internal use only.

Server

Gets or sets the CSS server to which the store-and-forward event sink forwards events. Microsoft internal use only.

Synchronous

Gets or sets a flag that specifies whether a CSS event sink handles events synchronously. Microsoft internal use only.

UserName

Gets or sets the user name of an account that has user rights to the local database or to the store-and-forward CSS event sink. Microsoft internal use only.

Remarks

You can access an existing CReplicationEventSinkConfig object by calling the EnumEventSinks method on the CReplicationServer object.

The following table provides additional information about this class.

Namespace

Microsoft.CommerceServer.Staging.Interop

Bb520805.alert_note(en-US,CS.70).gifNote:
You must also add a using directive for the System.ServiceProcesses namespace.

Corresponding COM class

ReplicationEventSinkConfig

CLSID

83500CB4-5ECC-4E03-8B0A-2E81ED5294F6

ProgID

CssApi.ReplicationEventSinkConfig

See Also

Other Resources

Commerce Server Staging Reference

Monitoring Commerce Server Staging