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
Microsoft.SqlServer.Management.Smo Namespace