DistributionPublicationCollection.Item[] Property

Definition

Gets a DistributionPublication object in the collection, by index number or by the properties that uniquely define the publication at the Distributor.

Overloads

Item[Int32]

Gets a DistributionPublication object in the collection by index number.

Item[String, String]

Gets a DistributionPublication object in the collection by the properties that uniquely define the publication at the Distributor.

Remarks

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

Item[Int32]

Gets a DistributionPublication object in the collection by index number.

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

Parameters

index
Int32

An Int32 value that specifies the position of the DistributionPublication object in the DistributionPublicationCollection.

Property Value

A DistributionPublication object.

Remarks

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

Applies to

Item[String, String]

Gets a DistributionPublication object in the collection by the properties that uniquely define the publication at the Distributor.

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

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 DistributionPublication object.

Remarks

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

Applies to