AddFullSubscriber Method

Description

Adds a server that subscribes to all articles in the publication.

Visual Basic

Publication.AddFullSubscriber (
[ServerName :=] idServer,
[[DestinationDatabase :=] idDatabase,]
[[InitialSyncType :=] tSyncType,]
[[Status :=] tStatusType] )

C++

HRESULT pPublication->AddFullSubscriber (
SQLOLE_LPCSTR
idServer,
SQLOLE_LPCSTR idDatabase = NULL,
SQLOLE_SUBSYNC_TYPE tSyncType = SQLOLESubSync_Default,
SQLOLE_SUBSTATUS_TYPE
tStatusType = SQLOLESubStat_Default );

Elements


Element Type Description

idServer Identifier Name of the subscription server.
idDatabase Identifier Destination database. Default is the publication database name.
tSyncType SQLOLE_SUBSYNC_TYPE Type of initial synchronization event used to synchronize the subscription server.
tStatusType SQLOLE_SUBSTATUS_TYPE Status of the subscription.