Udostępnij za pośrednictwem


PublisherMonitorCollection.Item[] Property

Definition

Gets a PublisherMonitor object in the collection by name or by index number.

Overloads

Item[Int32]

Gets a PublisherMonitor object in the collection by index number.

Item[String]

Gets a PublisherMonitor object in the collection by Publisher name.

Remarks

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

Item[Int32]

Gets a PublisherMonitor object in the collection by index number.

public:
 property Microsoft::SqlServer::Replication::PublisherMonitor ^ default[int] { Microsoft::SqlServer::Replication::PublisherMonitor ^ get(int index); };
public Microsoft.SqlServer.Replication.PublisherMonitor this[int index] { get; }
member this.Item(int) : Microsoft.SqlServer.Replication.PublisherMonitor
Default Public ReadOnly Property Item(index As Integer) As PublisherMonitor

Parameters

index
Int32

An Int32 value that specifies the index of the PublisherMonitor object in the collection.

Property Value

A PublisherMonitor object.

Remarks

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

Applies to

Item[String]

Gets a PublisherMonitor object in the collection by Publisher name.

public:
 property Microsoft::SqlServer::Replication::PublisherMonitor ^ default[System::String ^] { Microsoft::SqlServer::Replication::PublisherMonitor ^ get(System::String ^ name); };
public Microsoft.SqlServer.Replication.PublisherMonitor this[string name] { get; }
member this.Item(string) : Microsoft.SqlServer.Replication.PublisherMonitor
Default Public ReadOnly Property Item(name As String) As PublisherMonitor

Parameters

name
String

A String value that specifies the name of the Publisher.

Property Value

A PublisherMonitor object.

Remarks

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

Applies to