Partager via


Propriété ReplicationDatabaseCollection.Item (Int32)

Gets a ReplicationDatabase object in the collection by index number.

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As ReplicationDatabase 
    Get
'Utilisation
Dim instance As ReplicationDatabaseCollection 
Dim index As Integer 
Dim value As ReplicationDatabase 

value = instance(index)
public ReplicationDatabase this[
    int index
] { get; }
public:
property ReplicationDatabase^ default[int index] {
    ReplicationDatabase^ get (int index);
}
member Item : ReplicationDatabase
JScript prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.

Paramètres

Valeur de propriété

Type : Microsoft.SqlServer.Replication.ReplicationDatabase
A ReplicationDatabase object.

Notes

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

Voir aussi

Référence

ReplicationDatabaseCollection Classe

Surcharge Item

Espace de noms Microsoft.SqlServer.Replication