DistributionPublisherCollection.Item Property (Int32)
Gets a DistributionPublisher 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 DistributionPublisher
Get
'Usage
Dim instance As DistributionPublisherCollection
Dim index As Integer
Dim value As DistributionPublisher
value = instance(index)
public DistributionPublisher this[
int index
] { get; }
public:
property DistributionPublisher^ default[int index] {
DistributionPublisher^ get (int index);
}
member Item : DistributionPublisher
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 DistributionPublisher object in the DistributionPublisherCollection.
Property Value
Type: Microsoft.SqlServer.Replication.DistributionPublisher
A DistributionPublisher object .
Remarks
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.