共用方式為


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 版支援此命名空間、類別或成員。

範例

設定屬性