共用方式為


TransArticle.PublisherName Property

Definition

Gets or sets the name of the non-SQL Server Publisher that publishes the article.

public:
 property System::String ^ PublisherName { System::String ^ get(); void set(System::String ^ value); };
public string PublisherName { get; set; }
member this.PublisherName : string with get, set
Public Property PublisherName As String

Property Value

A String value.

Remarks

This property is only supported for non-SQL Server Publishers.

The PublisherName property cannot be changed for an existing article.

The PublisherName property can only be retrieved by members of the sysadmin fixed server role at the Publisher, by members of the db_owner fixed database role on the publication database, and by users who are members of the publication access list (PAL).

The PublisherName property can only be set by members of the sysadmin fixed server role at the Publisher. It can also be set by members of the db_owner fixed database role on the publication database.

Retrieving PublisherName is equivalent to executing sp_helparticle.

Setting PublisherName is equivalent to executing sp_addarticle.

Applies to