DistributionPublicationCollection.Item Property (Int32)
Gets a DistributionPublication object in the collection by index number.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
index As Integer _
) As DistributionPublication
Get
'Usage
Dim instance As DistributionPublicationCollection
Dim index As Integer
Dim value As DistributionPublication
value = instance(index)
public DistributionPublication this[
int index
] { get; }
public:
property DistributionPublication^ default[int index] {
DistributionPublication^ get (int index);
}
member Item : DistributionPublication
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- index
Type: System.Int32
An Int32 value that specifies the position of the DistributionPublication object in the DistributionPublicationCollection.
Property Value
Type: Microsoft.SqlServer.Replication.DistributionPublication
A DistributionPublication object.
Remarks
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.