共用方式為


LoginMode 屬性

Gets or sets the ServerLoginMode property value.

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

語法

'宣告
<SfcPropertyAttribute> _
<DmfIgnorePropertyAttribute> _
Public Property LoginMode As ServerLoginMode
    Get
    Set
'用途
Dim instance As Server
Dim value As ServerLoginMode

value = instance.LoginMode

instance.LoginMode = value
[SfcPropertyAttribute]
[DmfIgnorePropertyAttribute]
public ServerLoginMode LoginMode { get; set; }
[SfcPropertyAttribute]
[DmfIgnorePropertyAttribute]
public:
virtual property ServerLoginMode LoginMode {
    ServerLoginMode get () sealed;
    void set (ServerLoginMode value) sealed;
}
[<SfcPropertyAttribute>]
[<DmfIgnorePropertyAttribute>]
abstract LoginMode : ServerLoginMode with get, set
[<SfcPropertyAttribute>]
[<DmfIgnorePropertyAttribute>]
override LoginMode : ServerLoginMode with get, set
final function get LoginMode () : ServerLoginMode
final function set LoginMode (value : ServerLoginMode)

實作

IServerSettings. . :: . .LoginMode