Udostępnij za pośrednictwem


ReplicationDatabase.EnumReplicationSchemaBoundViews Method

Definition

Returns all user-defined schema-bound view objects in the database.

public:
 System::Collections::ArrayList ^ EnumReplicationSchemaBoundViews();
public System.Collections.ArrayList EnumReplicationSchemaBoundViews ();
member this.EnumReplicationSchemaBoundViews : unit -> System.Collections.ArrayList
Public Function EnumReplicationSchemaBoundViews () As ArrayList

Returns

An ArrayList of ReplicationSchemaBoundView objects.

Exceptions

When the database does not exist.

When the version is not Microsoft SQL Server 2005 or later.

Remarks

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

Applies to