Propriété Item (String)
Gets a PublisherMonitor object in the collection by Publisher name.
Espace de noms : Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
name As String _
) As PublisherMonitor
Get
'Utilisation
Dim instance As PublisherMonitorCollection
Dim name As String
Dim value As PublisherMonitor
value = instance(name)
public PublisherMonitor this[
string name
] { get; }
public:
property PublisherMonitor^ default[String^ name] {
PublisherMonitor^ get (String^ name);
}
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
- name
Type : System. . :: . .String
A String value that specifies the name of the Publisher.
Valeur de 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.