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