Condividi tramite


Proprietà Item (String)

Gets a ReplicationDatabase 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 ReplicationDatabase
    Get
'Utilizzo
Dim instance As ReplicationDatabaseCollection
Dim name As String
Dim value As ReplicationDatabase

value = instance(name)
public ReplicationDatabase this[
    string name
] { get; }
public:
property ReplicationDatabase^ default[String^ name] {
    ReplicationDatabase^ get (String^ name);
}
member Item : ReplicationDatabase
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

Osservazioni

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