Item propriété (Int32)
Gets a PublisherMonitor object in the collection by index number.
Espace de noms : Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Rmo (dans Microsoft.SqlServer.Rmo.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
index As Integer _
) As PublisherMonitor
Get
'Utilisation
Dim instance As PublisherMonitorCollection
Dim index As Integer
Dim value As PublisherMonitor
value = instance(index)
public PublisherMonitor this[
int index
] { get; }
public:
property PublisherMonitor^ default[int index] {
PublisherMonitor^ get (int index);
}
member Item : PublisherMonitor
JScript prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- index
Type : System. . :: . .Int32
An Int32 value that specifies the index of the PublisherMonitor object in the collection.
Valeur de la propriété
Type : Microsoft.SqlServer.Replication. . :: . .PublisherMonitor
A PublisherMonitor object.
Notes
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.