TransPublication.PublisherName 属性

定义

获得或设定非SQL Server Publisher的名称。

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

属性值

一个String值。

注解

该属性仅支持非 SQL Server 发布者。

PublisherName 属性是读写属性,但必须在创建对象之前设置该属性。 PublisherName该财产不能因现有出版物而更改。

PublisherName该属性只能由 Publisher 固定服务器角色的成员sysadmin、发布数据库中固定数据库角色的成员db_owner,或发布访问列表(PAL)中的用户检索。

PublisherName属性只能由 Publisher 固定服务器角色的成员sysadmin或发布数据库中固定数据库角色的成员db_owner设置。 PAL用户可以设置 PublisherName 已有出版物的属性。

收回 PublisherName 财产等同于执行 sp_helppublication

设置属性 ConflictPolicy 等同于执行 sp_addpublication

适用于

另请参阅