Свойство Item (String)
Gets a PublisherMonitor object in the collection by Publisher name.
Пространство имен: Microsoft.SqlServer.Replication
Сборка: Microsoft.SqlServer.Rmo (в Microsoft.SqlServer.Rmo.dll)
Синтаксис
'Декларация
Public ReadOnly Default Property Item ( _
name As String _
) As PublisherMonitor
Get
'Применение
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 поддерживает использование индексированных свойств, но не объявление новых.
Параметры
- name
Тип System. . :: . .String
A String value that specifies the name of the Publisher.
Значение свойства
Тип Microsoft.SqlServer.Replication. . :: . .PublisherMonitor
A PublisherMonitor object.
Замечания
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.