Propriedade do RDL ReplicationDatabaseCollection.Item (String)
Gets a ReplicationDatabase object in the collection by database name.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (em Microsoft.SqlServer.Rmo.dll)
Sintaxe
'Declaração
Public ReadOnly Default Property Item ( _
name As String _
) As ReplicationDatabase
Get
'Uso
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 dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.
Parâmetros
- name
Tipo: System.String
A String value that specifies the name of the replication database.
Valor da propriedade
Tipo: Microsoft.SqlServer.Replication.ReplicationDatabase
A ReplicationDatabase object.
Comentários
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.