Share via


RegisteredSubscriberCollection.Item Property (String)

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

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

Parameters

  • name
    Type: System.String
    A String value that specifies the name of the registered Subscriber.

Property Value

Type: Microsoft.SqlServer.Replication.RegisteredSubscriber
A RegisteredSubscriber object value that represents the registered Subscriber.

Remarks

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

See Also

Reference

RegisteredSubscriberCollection Class

Item Overload

Microsoft.SqlServer.Replication Namespace