Share via


PolicyStore.LogOnSuccess Property

Gets or sets whether log-on succeeded.

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

Syntax

'Declaration
<SfcPropertyAttribute(Data := True)> _
Public Property LogOnSuccess As Boolean 
    Get 
    Set
'Usage
Dim instance As PolicyStore 
Dim value As Boolean 

value = instance.LogOnSuccess

instance.LogOnSuccess = value
[SfcPropertyAttribute(Data = true)]
public bool LogOnSuccess { get; set; }
[SfcPropertyAttribute(Data = true)]
public:
property bool LogOnSuccess {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(Data = true)>]
member LogOnSuccess : bool with get, set
function get LogOnSuccess () : boolean 
function set LogOnSuccess (value : boolean)

Property Value

Type: System.Boolean
A Boolean value, True if log-on succeeded, otherwise False.

See Also

Reference

PolicyStore Class

Microsoft.SqlServer.Management.Dmf Namespace