The Notify event is raised when an error is added to the SQLReplErrors collection by a replication Microsoft® ActiveX® control.
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. |
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.
HRESULT Notify(
AGENT_STATUS Status,
BSTR Message);