Share via


MergePublicationCollection.Item[] Property

Definition

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

Overloads

Item[Int32]

Gets a MergePublication object in the collection by index number.

Item[String]

Gets a MergePublication object in the collection by name.

Remarks

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

Item[Int32]

Gets a MergePublication object in the collection by index number.

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

Parameters

index
Int32

An Int32 value that specifies the position of the MergePublication object in the MergePublicationCollection.

Property Value

A MergePublication object.

Remarks

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

Applies to

Item[String]

Gets a MergePublication object in the collection by name.

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

Parameters

name
String

A String value that specifies the name of the merge publication.

Property Value

A MergePublication object.

Remarks

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

Applies to