Udostępnij za pośrednictwem


DistributionArticle Constructors

Definition

Creates a new instance of the DistributionArticle class.

Overloads

DistributionArticle()

Creates a new instance of the DistributionArticle class.

DistributionArticle(String, String, String, String, String, ServerConnection)

Creates a new instance of the DistributionArticle class with the required properties and a connection to the Distributor.

DistributionArticle()

Creates a new instance of the DistributionArticle class.

public:
 DistributionArticle();
public DistributionArticle ();
Public Sub New ()

Remarks

The default constructor initializes any fields to their default values.

Applies to

DistributionArticle(String, String, String, String, String, ServerConnection)

Creates a new instance of the DistributionArticle class with the required properties and a connection to the Distributor.

public:
 DistributionArticle(System::String ^ name, System::String ^ distributionDBName, System::String ^ publisherName, System::String ^ publicationDBName, System::String ^ publicationName, Microsoft::SqlServer::Management::Common::ServerConnection ^ connectionContext);
public DistributionArticle (string name, string distributionDBName, string publisherName, string publicationDBName, string publicationName, Microsoft.SqlServer.Management.Common.ServerConnection connectionContext);
new Microsoft.SqlServer.Replication.DistributionArticle : string * string * string * string * string * Microsoft.SqlServer.Management.Common.ServerConnection -> Microsoft.SqlServer.Replication.DistributionArticle
Public Sub New (name As String, distributionDBName As String, publisherName As String, publicationDBName As String, publicationName As String, connectionContext As ServerConnection)

Parameters

name
String

A String value that specifies the name of the distribution article.

distributionDBName
String

A String value that specifies the distribution database.

publisherName
String

A String value that specifies the Publisher.

publicationDBName
String

A String value that specifies the publication database.

publicationName
String

A String value that specifies the publication.

connectionContext
ServerConnection

A ServerConnection object that specifies the Distributor connection.

Applies to