Item-Eigenschaft (Int32)
Gets a DistributionDatabase 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 DistributionDatabase
Get
'Usage
Dim instance As DistributionDatabaseCollection
Dim index As Integer
Dim value As DistributionDatabase
value = instance(index)
public DistributionDatabase this[
int index
] { get; }
public:
property DistributionDatabase^ default[int index] {
DistributionDatabase^ get (int index);
}
member Item : DistributionDatabase
JScript unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.
Parameter
- index
Typ: System. . :: . .Int32
An Int32 value that specifies the position of the DistributionDatabase object in the DistributionDatabaseCollection.
Eigenschaftswert
Typ: Microsoft.SqlServer.Replication. . :: . .DistributionDatabase
A DistributionDatabase object.
Hinweise
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.