Share via


Login.Enable-Methode

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()

Beispiele

Verwalten von Benutzern, Rollen und Anmeldungen

Siehe auch

Verweis

Login Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Prinzipale (Datenbankmodul)

CREATE LOGIN (Transact-SQL)