PublisherMonitorCollection.Item Property (Int32)
Gets a PublisherMonitor 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 PublisherMonitor
Get
'Usage
Dim instance As PublisherMonitorCollection
Dim index As Integer
Dim value As PublisherMonitor
value = instance(index)
public PublisherMonitor this[
int index
] { get; }
public:
property PublisherMonitor^ default[int index] {
PublisherMonitor^ get (int index);
}
member Item : PublisherMonitor
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- index
Type: System.Int32
An Int32 value that specifies the index of the PublisherMonitor object in the collection.
Property Value
Type: Microsoft.SqlServer.Replication.PublisherMonitor
A PublisherMonitor object.
Remarks
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.