Sdílet prostřednictvím


DistributionPublicationCollection.Item Property (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
public DistributionPublication this [
    string publicationDBName,
    string publicationName
] { get; }
public:
property DistributionPublication^ default [String^, String^] {
    DistributionPublication^ get (String^ publicationDBName, String^ publicationName);
}
/** @property */
public DistributionPublication get_Item (String publicationDBName, String publicationName)

Parameters

  • publicationDBName
    A String value that specifies the publication database.
  • publicationName
    A String value that specifies the name of the publication.

Property Value

A DistributionPublication object.

Remarks

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

DistributionPublicationCollection Class
DistributionPublicationCollection Members
Microsoft.SqlServer.Replication Namespace