Condividi tramite


Proprietà DistributionDatabaseCollection.Item (String)

Gets a DistributionDatabase object in the collection by database name.

Spazio dei nomi  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Sintassi

'Dichiarazione
Public ReadOnly Default Property Item ( _
    name As String _
) As DistributionDatabase 
    Get
'Utilizzo
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 supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

  • name
    Tipo: System.String
    A String value that specifies the name of the distribution database.

Valore proprietà

Tipo: Microsoft.SqlServer.Replication.DistributionDatabase
A DistributionDatabase object.

Osservazioni

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

Vedere anche

Riferimento

DistributionDatabaseCollection Classe

Overload Item

Spazio dei nomi Microsoft.SqlServer.Replication