Share via


PublicationMonitorCollection.Item[] Property

Definition

Gets a PublicationMonitor object in the collection by database name and publication name or by index number.

Overloads

Item[Int32]

Gets a PublicationMonitor object in the collection by index number.

Item[String, String]

Gets a PublicationMonitor object in the collection by publication database and publication name.

Remarks

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

Item[Int32]

Gets a PublicationMonitor object in the collection by index number.

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

Parameters

index
Int32

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

Property Value

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.

Applies to

Item[String, String]

Gets a PublicationMonitor object in the collection by publication database and publication name.

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

Parameters

publicationDBName
String

A String value that specifies the publication database.

publicationName
String

A String value that specifies the name of the publication.

Property Value

A PublicationMonitor object.

Remarks

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

Applies to