TransPublication.PublisherName 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获得或设定非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。