Compartir a través de


Status Event (Replication ActiveX)

The Status event returns information about significant occurrences in the operation of a replication Microsoft ActiveX control.

Sintaxis

Function Objectvar_Status( _
     ByVal Message As String,  _
     ByVal Percent As Long) _
     As STATUS_RETURN_CODE
Part Description

Objectvar

Expression that evaluates to an object in the Applies To list.

Message

Description of the significant occurrence.

Percent

Percentage of the operation completed successfully, from 0 through 100.

Applies To

SQLDistribution Object (Replication ActiveX)

SQLMerge Object (Replication ActiveX)

Notas

To receive the Status event, a Microsoft Visual Basic program must declare ObjectvarWithEvents of the appropriate type.

STATUS_RETURN_CODE (Replication ActiveX)is an enumeration that specifies the values that can be returned from the Status callback function (event).

Prototype (C/C++)

HRESULT Status(
     BSTR Message, 
     Long Percent, 
     STATUS_RETURN_CODE *pReturnCode);

Vea también

Conceptos

Programming Replication Using ActiveX Controls

Ayuda e información

Obtener ayuda sobre SQL Server 2005