Share via


ReplicationDatabaseCollection.Item Property (Int32)

Gets a ReplicationDatabase object in the collection by index number.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As ReplicationDatabase 
    Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

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

Remarks

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

See Also

Reference

ReplicationDatabaseCollection Class

Item Overload

Microsoft.SqlServer.Replication Namespace