Aracılığıyla paylaş


Login.Disable Method

Disables the login account.

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

Syntax

'Bildirim
Public Sub Disable
'Kullanım
Dim instance As Login

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

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)