Replication Programming
Notify Event
The Notify event is raised when an error is added to the SQLReplErrors collection by a replication Microsoft® ActiveX® control.
Applies To
Prototype (Visual Basic)
Sub Objectvar_Notify( _
ByVal Status As REPLERRXLib.AGENT_STATUS _
ByVal Message As String)
Part | Description |
---|---|
Objectvar | Expression that evaluates to a SQLReplErrors collection. |
Status | Value that indicates the type of error from the AGENT_STATUS enumeration. |
Message | Description of the error. |
Remarks
To receive the Notify event, the program must declare Objectvar WithEvents of type REPLERRXLib.SQLReplErrors.
This event is not available through the ISQLReplErrors interface of the replication ActiveX controls.
Prototype (C/C++)
HRESULT Notify(
AGENT_STATUS Status,
BSTR Message);