Item propriété (String)
Gets a DistributionArticle object in the collection by 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 DistributionArticle
Get
'Utilisation
Dim instance As DistributionArticleCollection
Dim name As String
Dim value As DistributionArticle
value = instance(name)
public DistributionArticle this[
string name
] { get; }
public:
property DistributionArticle^ default[String^ name] {
DistributionArticle^ get (String^ name);
}
member Item : DistributionArticle
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 article.
Valeur de la propriété
Type : Microsoft.SqlServer.Replication. . :: . .DistributionArticle
A DistributionArticle object.
Notes
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.