Partilhar via


Propriedade Item (String)

Gets a TransPublication object in the collection by 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 TransPublication
    Get
'Uso
Dim instance As TransPublicationCollection
Dim name As String
Dim value As TransPublication

value = instance(name)
public TransPublication this[
    string name
] { get; }
public:
property TransPublication^ default[String^ name] {
    TransPublication^ get (String^ name);
}
member Item : TransPublication
JScript dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.

Parâmetros

Comentários

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.