Notify Event (Replication ActiveX)
The Notify event is raised when an error is added to the SQLReplErrors collection by a replication Microsoft ActiveX control.
Sintaxis
Sub Objectvar_Notify( _
ByVal Status As REPLERRXLib.AGENT_STATUS _
ByVal Message As String)
Part | Description |
---|---|
Objectvar |
Expression that evaluates to a SQLReplErrors Collection (Replication ActiveX) collection. |
Status |
Value that indicates the type of error from the AGENT_STATUS (Replication ActiveX) enumeration. |
Message |
Description of the error. |
Applies To
SQLReplErrors Collection (Replication ActiveX)
Notas
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);