Share via


DistributionPublisherCollection.Item[] Property

Definition

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

Overloads

Item[Int32]

Gets a DistributionPublisher object in the collection by index number.

Item[String]

Gets a DistributionPublisher object in the collection by name.

Remarks

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

Item[Int32]

Gets a DistributionPublisher object in the collection by index number.

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

Parameters

index
Int32

An Int32 value that specifies the position of the DistributionPublisher object in the DistributionPublisherCollection.

Property Value

A DistributionPublisher object .

Remarks

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

Applies to

Item[String]

Gets a DistributionPublisher object in the collection by name.

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

Parameters

name
String

A String value that is the Publisher name.

Property Value

A DistributionPublisher object.

Remarks

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

Applies to