DistributionPublisherCollection.Item-Eigenschaft (String)
Gets a DistributionPublisher object in the collection by name.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
name As String _
) As DistributionPublisher
Get
'Usage
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 unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.
Parameter
- name
Typ: System.String
A String value that is the Publisher name.
Eigenschaftswert
Typ: Microsoft.SqlServer.Replication.DistributionPublisher
A DistributionPublisher object.
Hinweise
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.