MandateDatabaseSubscriptions 属性

Gets or sets the Boolean value that determines whether the database subscriptions are permitted.

命名空间:  Microsoft.SqlServer.Management.Dmf
程序集:  Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)

语法

声明
<SfcPropertyAttribute(Required := False, Data := True)> _
Public Property MandateDatabaseSubscriptions As Boolean
    Get
    Set
用法
Dim instance As PolicyCategory
Dim value As Boolean

value = instance.MandateDatabaseSubscriptions

instance.MandateDatabaseSubscriptions = value
[SfcPropertyAttribute(Required = false, Data = true)]
public bool MandateDatabaseSubscriptions { get; set; }
[SfcPropertyAttribute(Required = false, Data = true)]
public:
property bool MandateDatabaseSubscriptions {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(Required = false, Data = true)>]
member MandateDatabaseSubscriptions : bool with get, set
function get MandateDatabaseSubscriptions () : boolean
function set MandateDatabaseSubscriptions (value : boolean)

属性值

类型:System. . :: . .Boolean
A Boolean value that specifies whether database subscriptions are permitted.
If True, database subscriptions are permitted. Otherwise, False.

注释

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

示例

设置属性