Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Returns replication information for published objects in the replication database.
Espace de noms: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)
Syntaxe
'Déclaration
Public Function EnumPublicationArticles ( _
objName As String _
) As ArrayList
public ArrayList EnumPublicationArticles (
string objName
)
public:
ArrayList^ EnumPublicationArticles (
String^ objName
)
public ArrayList EnumPublicationArticles (
String objName
)
public function EnumPublicationArticles (
objName : String
) : ArrayList
Paramètres
- objName
A String value specifying the database object that is published, such as the table name or stored procedure.
Valeur de retour
An ArrayList of PublicationArticle objects.
Exceptions
| Type d'exception | Condition |
|---|---|
| ApplicationException | When the database does not exist. |
| ArgumentException | When objName is longer than 128 Unicode characters, is null, or contains null characters. |
Notes
The EnumPublicationArticles 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.
Sécurité des threads
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Plateformes
Plateformes de développement
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Plateformes cibles
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Voir aussi
Référence
ReplicationDatabase Class
ReplicationDatabase Members
Microsoft.SqlServer.Replication Namespace