Item-Eigenschaft (String)
Gets a PublisherMonitor object in the collection by Publisher name.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
name As String _
) As PublisherMonitor
Get
'Usage
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 unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.
Parameter
- name
Typ: System. . :: . .String
A String value that specifies the name of the Publisher.
Eigenschaftswert
Typ: Microsoft.SqlServer.Replication. . :: . .PublisherMonitor
A PublisherMonitor object.
Hinweise
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.