Propriedade Item (String)
Gets a PublisherMonitor object in the collection by Publisher name.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (em Microsoft.SqlServer.Rmo.dll)
Sintaxe
'Declaração
Public ReadOnly Default Property Item ( _
name As String _
) As PublisherMonitor
Get
'Uso
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 dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.
Parâmetros
- name
Tipo: System. . :: . .String
A String value that specifies the name of the Publisher.
Valor da propriedade
Tipo: Microsoft.SqlServer.Replication. . :: . .PublisherMonitor
A PublisherMonitor object.
Comentários
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.