Replication Publication Attribute Constants (SQLDMO_PUBATTRIB_TYPE)

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

Replication publication attribute constants specify available replication functions for a referenced publication.

Constant

Value

Description

SQLDMOPubAttrib_AllowAnonymous

4

Allows anonymous Subscriber-originated subscriptions against the referenced publication.

SQLDMOPubAttrib_AllowPull

2

Allows known Subscriber-originated (pull) subscriptions against the referenced publication.

SQLDMOPubAttrib_AllowPush

1

Allows the Publisher to force subscription to the publication.

SQLDMOPubAttrib_/AllowSubscriptionCopy

100

Allows copying and attaching of subscription database to other Subscribers.

SQLDMOPubAttrib_/CompressSnapshot

128

Compresses snapshot files.

SQLDMOPubAttrib_Default

1

SQLDMOPubAttrib_AllowPush.

SQLDMOPubAttrib_ImmediateSync

16

Forces immediate synchronization of the referenced publication.

SQLDMOPubAttrib_IndependentAgent

32

Runs the agent as an independent agent.

SQLDMOPubAttrib_InternetEnabled

8

Enables the referenced publication for distribution across the Internet.

SQLDMOPubAttrib_Min

0

The referenced publication is disabled.

SQLDMOPubAttrib_/SnapshotInDefaultFolder

64

Keeps snapshot copy in default folder.

SQLDMOPubAttrib_Unknown

256

The referenced publication has an attribute setting that is unknown or not valid.

SQLDMOPubAttrib_Valid

511

A mask for valid attribute settings.

See Also

Reference