语言

TransSubscription.SubscriberCatalog 属性

定义

获取或设置非 SQL Server 订阅者连接 OLE DB 提供者时所使用的目录。

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

属性值

String 值最多可为128个Unicode字符。

注解

SubscriberCatalog属性应仅为非 SQL Server 订阅者设置。

SubscriberCatalog 值作为初始化OLE DB提供者的DBPROP_INIT_CATALOG属性传递。

SubscriberCatalog该属性只能由固定服务器角色的成员sysadmin、固定数据库角色的成员db_owner,或创建订阅的用户检索。

SubscriberCatalog该属性只能由固定服务器角色的成员sysadmin或固定数据库角色的成员db_owner设置。

检索 SubscriberCatalog 相当于执行 sp_helpsubscription(Transact-SQL)

设置 SubscriberCatalog 相当于执行 sp_addpushsubscription_agent(Transact-SQL)sp_changesubscription(Transact-SQL)

适用于