Propriété Item (String)
Gets a DistributionDatabase object in the collection by database name.
Espace de noms : Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
name As String _
) As DistributionDatabase
Get
'Utilisation
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 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 distribution database.
Valeur de propriété
Type : Microsoft.SqlServer.Replication. . :: . .DistributionDatabase
A DistributionDatabase object.
Notes
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.