PublisherDatabase Property (Replication ActiveX)

The PublisherDatabase property returns or sets the name of the publication database.

语法

object.PublisherDatabase [= value]
Part Description

object

Expression that evaluates to an object in the Applies To list.

value

Publication database name.

Applies To

AlternateSyncPartner Object (Replication ActiveX)

SQLDistribution Object (Replication ActiveX)

SQLMerge Object (Replication ActiveX)

备注

This is a required property. An error is raised if it is set to an empty string.

Data Type

String

Modifiable

Read/write

Prototype C/C++

HRESULT get_PublisherDatabase(BSTR *pVal);
HRESULT put_PublisherDatabase(BSTR newVal);

请参阅

参考

Publication Property (Replication ActiveX)
Publisher Property (Replication ActiveX)

帮助和信息

获取 SQL Server 2005 帮助