Share via


IMutablePassword.CheckPolicy Property

Gets or sets a value that indicates whether password policy is enforced for this login account.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Property CheckPolicy As Boolean
    Get
    Set
'Usage
Dim instance As IMutablePassword
Dim value As Boolean

value = instance.CheckPolicy

instance.CheckPolicy = value
bool CheckPolicy { get; set; }
property bool CheckPolicy {
    bool get ();
    void set (bool value);
}
abstract CheckPolicy : bool with get, set
function get CheckPolicy () : boolean
function set CheckPolicy (value : boolean)

Property Value

Type: System.Boolean
true if password policy is enforced for this login account; otherwise, false.

Implements

IPassword.CheckPolicy