다음을 통해 공유


Publication Property (Replication ActiveX)

The Publication property returns or sets the name of the publication.

구문

object.Publication [= value]
Part Description

object

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

value

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

If using the SQL Distribution Control to synchronize multiple publications configured to use a shared agent, the value must be ALL. For more information about shared agents, see sp_addpublication(Transact-SQL).

Data Type

String

Modifiable

Read/write

Prototype C/C++

HRESULT get_Publication(BSTR *pVal);
HRESULT put_Publication(BSTR newVal);

참고 항목

참조

Publisher Property (Replication ActiveX)
PublisherDatabase Property (Replication ActiveX)

도움말 및 정보

SQL Server 2005 지원 받기