Propriété LogOnSuccess

Gets or sets whether log-on succeeded.

Espace de noms :  Microsoft.SqlServer.Management.Dmf
Assembly :  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Syntaxe

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

Valeur de propriété

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