Delen via


PolicyExtender.EnableRootRestriction Property

Gets a Boolean value that indicates whether root restriction is enabled.

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

Syntax

'Declaration
<ExtendedPropertyAttribute("Condition")> _
Public ReadOnly Property EnableRootRestriction As Boolean
    Get
'Usage
Dim instance As PolicyExtender
Dim value As Boolean

value = instance.EnableRootRestriction
[ExtendedPropertyAttribute("Condition")]
public bool EnableRootRestriction { get; }
[ExtendedPropertyAttribute(L"Condition")]
public:
property bool EnableRootRestriction {
    bool get ();
}
[<ExtendedPropertyAttribute("Condition")>]
member EnableRootRestriction : bool
function get EnableRootRestriction () : boolean

Property Value

Type: System.Boolean
A Boolean value that indicates whether root restriction is enabled, True if enabled, otherwise False.