Share via


PolicyCategory.MandateDatabaseSubscriptions Property

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

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
<SfcPropertyAttribute(Required := False, Data := True)> _
Public Property MandateDatabaseSubscriptions As Boolean
    Get
    Set
'Usage
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)

Property Value

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

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.