EnumPublicationReferences Method
Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.
The EnumPublicationReferences method returns a QueryResults object that enumerates dependency relationships for database objects published as articles.
구문
object
.EnumPublicationReferences( )
as
QueryResults
Parts
- object
Expression that evaluates to an object in the Applies To list
Prototype (C/C++)
HRESULT EnumPublicationReferences(
LPSQLDMOQUERYRESULTS* ppResults);
Returns
A QueryResults object that contains two result sets. The first result set enumerates objects outside the publication that depend on data published by the article, and is defined by these columns.
Column | Data type | Description |
---|---|---|
ArticleObject |
nvarchar(129) |
Name of article publishing referenced data. |
ReferencingObject |
nvarchar(129) |
Name of database object referencing publication data. |
The second result set enumerates database objects not published by the publication and on which an article in the publication depends.
Column | Data type | Description |
---|---|---|
ArticleObject |
nvarchar(129) |
Name of article publishing referencing data. |
ReferencedObject |
nvarchar(129) |
Name of database object referenced and not published. |
주의
The result sets of the QueryResults object contain rows when dependencies exist in the replication database and those dependencies are not reflected in the publication.