ReplicationDatabaseCollection.Item[] Property

Definition

Gets a ReplicationDatabase object in the collection by name or by index number.

Overloads

Item[Int32]

Gets a ReplicationDatabase object in the collection by index number.

Item[String]

Gets a ReplicationDatabase object in the collection by database name.

Remarks

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

Item[Int32]

Gets a ReplicationDatabase object in the collection by index number.

public:
 property Microsoft::SqlServer::Replication::ReplicationDatabase ^ default[int] { Microsoft::SqlServer::Replication::ReplicationDatabase ^ get(int index); };
public Microsoft.SqlServer.Replication.ReplicationDatabase this[int index] { get; }
member this.Item(int) : Microsoft.SqlServer.Replication.ReplicationDatabase
Default Public ReadOnly Property Item(index As Integer) As ReplicationDatabase

Parameters

index
Int32

An Int32 value that specifies the position of the ReplicationDatabase object in the collection.

Property Value

A ReplicationDatabase object.

Remarks

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

Applies to

Item[String]

Gets a ReplicationDatabase object in the collection by database name.

public:
 property Microsoft::SqlServer::Replication::ReplicationDatabase ^ default[System::String ^] { Microsoft::SqlServer::Replication::ReplicationDatabase ^ get(System::String ^ name); };
public Microsoft.SqlServer.Replication.ReplicationDatabase this[string name] { get; }
member this.Item(string) : Microsoft.SqlServer.Replication.ReplicationDatabase
Default Public ReadOnly Property Item(name As String) As ReplicationDatabase

Parameters

name
String

A String value that specifies the name of the replication database.

Property Value

A ReplicationDatabase object.

Remarks

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

Applies to