Share via


IPassword.CheckPolicy Property

Gets 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
ReadOnly Property CheckPolicy As Boolean
    Get
'Usage
Dim instance As IPassword
Dim value As Boolean

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

Property Value

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