Share via


PublicationMonitorCollection.Item Property (Int32)

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

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

Parameters

Property Value

Type: Microsoft.SqlServer.Replication.PublicationMonitor
A PublicationMonitor object value that represents the publication monitor.

Remarks

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