Item propriété (String)
Gets a ReplicationDatabase object in the collection by database name.
Espace de noms : Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Rmo (dans Microsoft.SqlServer.Rmo.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
name As String _
) As ReplicationDatabase
Get
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- name
Type : System. . :: . .String
A String value that specifies the name of the replication database.
Valeur de la propriété
Type : Microsoft.SqlServer.Replication. . :: . .ReplicationDatabase
A ReplicationDatabase object.
Notes
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.