ReplicationDatabase.EnumTransPublications Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a list of transactional and snapshot publications that use the database.
public:
System::Collections::ArrayList ^ EnumTransPublications();
public System.Collections.ArrayList EnumTransPublications ();
member this.EnumTransPublications : unit -> System.Collections.ArrayList
Public Function EnumTransPublications () As ArrayList
Returns
An ArrayList of TransPublication objects.
Exceptions
When the database does not exist.
Remarks
The EnumTransPublications method can only be called by members of the sysadmin
fixed server role and members of the db_owner
fixed database role.
Calling EnumTransPublications is equivalent to executing sp_helppublication (Transact-SQL).