TransPublicationCollection.Item Property (Int32)

Gets a TransPublication 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 TransPublication
    Get
'Usage
Dim instance As TransPublicationCollection
Dim index As Integer
Dim value As TransPublication

value = instance(index)
public TransPublication this[
    int index
] { get; }
public:
property TransPublication^ default[int index] {
    TransPublication^ get (int index);
}
member Item : TransPublication
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Remarks

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