Bagikan melalui


Login.Enable Method

Enables the login account.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub Enable
'Usage
Dim instance As Login

instance.Enable()
public void Enable()
public:
void Enable()
member Enable : unit -> unit
public function Enable()

Examples

Managing Users, Roles, and Logins

See Also

Reference

Login Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Principals (Database Engine)

CREATE LOGIN (Transact-SQL)