Método ReplicationDatabase.EnumReplicationViews
Returns a list of the user-defined views objects in the database.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (em Microsoft.SqlServer.Rmo.dll)
Sintaxe
'Declaração
Public Function EnumReplicationViews As ArrayList
'Uso
Dim instance As ReplicationDatabase
Dim returnValue As ArrayList
returnValue = instance.EnumReplicationViews()
public ArrayList EnumReplicationViews()
public:
ArrayList^ EnumReplicationViews()
member EnumReplicationViews : unit -> ArrayList
public function EnumReplicationViews() : ArrayList
Valor de retorno
Tipo: System.Collections.ArrayList
An ArrayList of EnumReplicationViews objects.
Exceções
Exceção | Condição |
---|---|
ApplicationException | When the database does not exist. |
Comentários
Calling EnumReplicationViews requires SELECT permissions on the sys.views (Transact-SQL) catalogue view and on the sys.syscomments (Transact-SQL) system table.