Freigeben über


Item-Eigenschaft (String, String)

Gets a DistributionPublication object in the collection by the properties that uniquely define the publication at the Distributor.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    publicationDBName As String, _
    publicationName As String _
) As DistributionPublication
    Get
'Usage
Dim instance As DistributionPublicationCollection
Dim publicationDBName As String
Dim publicationName As String
Dim value As DistributionPublication

value = instance(publicationDBName, publicationName)
public DistributionPublication this[
    string publicationDBName,
    string publicationName
] { get; }
public:
property DistributionPublication^ default[String^ publicationDBName, String^ publicationName] {
    DistributionPublication^ get (String^ publicationDBName, String^ publicationName);
}
member Item : DistributionPublication
JScript unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.

Parameter

Hinweise

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.