Export (0) Print
Expand All

ReplicationDatabase.EnumPublicationArticles Method

Returns replication information for published objects in the replication database.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

public ArrayList EnumPublicationArticles(
	string objName
)

Parameters

objName
Type: String
A String value specifying the database object that is published, such as the table name or stored procedure.

Return Value

Type: ArrayList
An ArrayList of PublicationArticle objects.

ExceptionCondition
ApplicationException

When the database does not exist.

ArgumentException

When objName is longer than 128 Unicode characters, is null, or contains null characters.

The EnumPublicationArticles method can only be called by members of the sysadmin fixed server role and members of the db_owner fixed database role.

Community Additions

ADD
Show:
© 2014 Microsoft