SubscribeQueryNotifications 属性
获取或设置 Boolean 属性值,该值指定在权限集中是否包括 SUBSCRIBE QUERY NOTIFICATIONS 权限。此权限允许被授权者订阅 Service Broker 查询通知。
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Property SubscribeQueryNotifications As Boolean
Get
Set
用法
Dim instance As DatabasePermissionSet
Dim value As Boolean
value = instance.SubscribeQueryNotifications
instance.SubscribeQueryNotifications = value
public bool SubscribeQueryNotifications { get; set; }
public:
property bool SubscribeQueryNotifications {
bool get ();
void set (bool value);
}
member SubscribeQueryNotifications : bool with get, set
function get SubscribeQueryNotifications () : boolean
function set SubscribeQueryNotifications (value : boolean)
属性值
类型:System. . :: . .Boolean
一个 Boolean 值,指定是否在权限集中包含 SUBSCRIBE QUERY NOTIFICATIONS 权限。
如果为 True,则在权限集中包含该权限。
如果为 False(默认值),则从权限集中排除该权限。