JoinArticleName Property

未來的 Microsoft SQL Server 發行版本將不再提供此功能。請避免在新的開發工作中使用此功能,並計劃修改目前使用此功能的應用程式。

The JoinArticleName property identifies a source article for some types of merge replication horizontal partitioning.

語法

object
.JoinArticleName [=value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list
  • value
    A string identifying an existing merge replication article by name

Data Type

String

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetJoinArticleName(SQLDMO_LPBSTR pRetVal);
HRESULT SetJoinArticleName(SQLDMO_LPCSTR NewValue);
ms143021.note(zh-tw,SQL.90).gif附註:
SQL Distributed Management Objects (SQL-DMO) strings are always returned as OLE BSTR objects. A C/C++ application obtains a reference to the string. The application must release the reference by using SysFreeString.

備註

Use the MergeSubsetFilter object to horizontally partition data in a merge replication article if the partitioning WHERE clause is defined in a second article.

ms143021.note(zh-tw,SQL.90).gif附註:
If an application sets JoinArticleName after the initial snapshot has been created, a new snapshot must be generated. Snapshots are applied when the next scheduled snapshot agent runs.

Applies To:

MergeSubsetFilter Object