DBADDOPTION (Replication ActiveX)
The DBADDOPTION constants specify advanced options that are used when calling the AddSubscription Method (Replication ActiveX) method of the SQLDistribution Object (Replication ActiveX) and SQLMerge Object (Replication ActiveX) objects.
Constant
Value
Description
ATTACH_DATABASE
2
Attaches a Subscriber database file, typically an .mdf (Microsoft SQL Server Subscribers only).
ATTACH_SUBSCRIPTION
3
Attaches a subscription file, typically an .msf (Microsoft Subscription File).
Важно!
Support for initializing a subscription by copying and attaching an existing subscription database has been deprecated.
CREATE_DATABASE
1
Creates the Subscriber database (SQL Server Subscribers only).
EXISTING_DATABASE
0
Uses an existing Subscriber database.