Condividi tramite


Proprietà LogOnSuccess

Gets or sets whether log-on succeeded.

Spazio dei nomi  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(Data := True)> _
Public Property LogOnSuccess As Boolean
    Get
    Set
'Utilizzo
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)

Valore proprietà

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