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