DistributionDatabaseCollection.Item Property (Int32)

Gets a DistributionDatabase 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 DistributionDatabase 
    Get
'Usage
Dim instance As DistributionDatabaseCollection 
Dim index As Integer 
Dim value As DistributionDatabase 

value = instance(index)
public DistributionDatabase this[
    int index
] { get; }
public:
property DistributionDatabase^ default[int index] {
    DistributionDatabase^ get (int index);
}
member Item : DistributionDatabase
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

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

Remarks

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

See Also

Reference

DistributionDatabaseCollection Class

Item Overload

Microsoft.SqlServer.Replication Namespace