Udostępnij za pośrednictwem


ReplicationDatabase.EnumPublicationArticles(String) Method

Definition

Returns replication information for published objects in the replication database.

public:
 System::Collections::ArrayList ^ EnumPublicationArticles(System::String ^ objName);
public System.Collections.ArrayList EnumPublicationArticles (string objName);
member this.EnumPublicationArticles : string -> System.Collections.ArrayList
Public Function EnumPublicationArticles (objName As String) As ArrayList

Parameters

objName
String

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

Returns

An ArrayList of PublicationArticle objects.

Exceptions

When the database does not exist.

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

Remarks

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

Applies to