The StatusMessage occurs when a SQL-DMO object reaches a system-defined midpoint in processing.
| Replication Object | Transfer Object |
Private Sub object_StatusMessage( Message as String )
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
| Message | String containing descriptive message text |
For the Transfer object, SQL-DMO raises the StatusMessage event during processing of the Transfer method of the Database object.
For the Replication object, the StatusMessage event is reserved for future use.
HRESULT StatusMessage(SQLDMO_LPCSTR szMessage);