Share via


MergePublicationCollection.Item Property (String)

Gets a MergePublication 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 MergePublication 
    Get
'Usage
Dim instance As MergePublicationCollection 
Dim name As String 
Dim value As MergePublication 

value = instance(name)
public MergePublication this[
    string name
] { get; }
public:
property MergePublication^ default[String^ name] {
    MergePublication^ get (String^ name);
}
member Item : MergePublication
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

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

Remarks

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

See Also

Reference

MergePublicationCollection Class

Item Overload

Microsoft.SqlServer.Replication Namespace