Share via


DistributionDatabaseCollection.Item Property (String)

Gets a DistributionDatabase object in the collection by database 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 DistributionDatabase
    Get
'Usage
Dim instance As DistributionDatabaseCollection
Dim name As String
Dim value As DistributionDatabase

value = instance(name)
public DistributionDatabase this[
    string name
] { get; }
public:
property DistributionDatabase^ default[String^ name] {
    DistributionDatabase^ get (String^ name);
}
member Item : DistributionDatabase
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 distribution database.

Remarks

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