Freigeben über


TransPublicationCollection.Item-Eigenschaft (String)

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

Eigenschaftswert

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

Hinweise

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

Siehe auch

Verweis

TransPublicationCollection Klasse

Item-Überladung

Microsoft.SqlServer.Replication-Namespace