The DBADDOPTION specifies whether the Subscriber database already exists or must be created or attached when calling the AddSubscription method.
Constant | Value | Description |
---|---|---|
ATTACH_DATABASE | 2 | Attach a subscriber database. (Microsoft® SQL Server Subscribers only). |
CREATE_DATABASE | 1 | Creates the Subscriber database (SQL Server and Microsoft Jet 4.0 Subscribers only). |
EXISTING_DATABASE | 0 | Uses an existing Subscriber database. |