DistributionPublicationCollection.Item[] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Property Value
A DistributionPublication object.
Remarks
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.