语言

ReplicationDatabase.EnumReplicationSchemaBoundViews 方法

定义

返回数据库中所有用户自定义的模式绑定视图对象。

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

返回

对象的一ArrayListReplicationSchemaBoundView

例外

当数据库不存在时。

当版本不是 Microsoft SQL Server 2005 或更高版本时,

注解

调用 EnumReplicationSchemaBoundViews 时需要对 sys.views(Transact-SQL) 目录视图和 sys.syscomments(Transact-SQL) 系统表进行 SELECT 权限。

适用于