Condividi tramite


Metodo EnumReplicationTables

Returns all user-defined table objects in the database.

Spazio dei nomi  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Sintassi

'Dichiarazione
Public Function EnumReplicationTables As ArrayList
'Utilizzo
Dim instance As ReplicationDatabase
Dim returnValue As ArrayList

returnValue = instance.EnumReplicationTables()
public ArrayList EnumReplicationTables()
public:
ArrayList^ EnumReplicationTables()
member EnumReplicationTables : unit -> ArrayList 
public function EnumReplicationTables() : ArrayList

Valore restituito

Tipo: System.Collections. . :: . .ArrayList
An ArrayList of ReplicationTable objects.

Eccezioni

Eccezione Condizione
ApplicationException

When the database does not exist.

Osservazioni

The EnumReplicationTables method can only be called by members of the sysadmin fixed server role and members of the db_owner fixed database role.

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.