다음을 통해 공유


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).

ms147907.note(ko-kr,SQL.90).gif중요:

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.