Export (0) Print
Expand All

ReplicationDatabase.EnumReplicationViews Method

Returns a list of the user-defined views objects in the database.

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

public ArrayList EnumReplicationViews()

Return Value

Type: ArrayList
An ArrayList of EnumReplicationViews objects.

ExceptionCondition
ApplicationException

When the database does not exist.

Calling EnumReplicationViews requires SELECT permissions on the sys.views (Transact-SQL) catalogue view and on the sys.syscomments (Transact-SQL) system table.

Community Additions

ADD
Show:
© 2014 Microsoft