The Add method adds a SQLReplError object to a SQLReplErrors collection.
collection.Add object
| Part | Description |
|---|---|
| collection | Expression that evaluates to a SQLReplErrors collection. |
| object | Expression that evaluates to a SQLReplError object. |
The AddReplError method can be used to add an error to a SQLReplErrors collection without creating a SQLReplError object first.
HRESULT Add(
ISQLReplError* pISQLReplError);