共用方式為


PolicyStore.LogOnSuccess 屬性

Gets or sets whether log-on succeeded.

命名空間:  Microsoft.SqlServer.Management.Dmf
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

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

屬性值

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

請參閱

參考

PolicyStore 類別

Microsoft.SqlServer.Management.Dmf 命名空間