Settings.LoginMode Property
Gets or sets the logon mode for Microsoft SQL Server.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Declaration
Public Property LoginMode As ServerLoginMode
public ServerLoginMode LoginMode { get; set; }
public:
property ServerLoginMode LoginMode {
ServerLoginMode get ();
void set (ServerLoginMode value);
}
/** @property */
public ServerLoginMode get_LoginMode ()
/** @property */
public void set_LoginMode (ServerLoginMode value)
public function get LoginMode () : ServerLoginMode
public function set LoginMode (value : ServerLoginMode)
Property Value
A ServerLoginMode object value that specifies the logon mode for the instance of SQL Server.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Example
How to: Modify SQL Server Settings in Visual Basic .NET
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
Settings Class
Settings Members
Microsoft.SqlServer.Management.Smo Namespace