Partager via


Propriété TransPublicationCollection.Item (String)

Gets a TransPublication object in the collection by 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 TransPublication 
    Get
'Utilisation
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 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 transactional or snapshot publication.

Valeur de propriété

Type : Microsoft.SqlServer.Replication.TransPublication
A TransPublication object.

Notes

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

Voir aussi

Référence

TransPublicationCollection Classe

Surcharge Item

Espace de noms Microsoft.SqlServer.Replication