Login.IsDisabled Property
SQL Server 2012
Gets or sets the Boolean property value that specifies whether the SQL Server login account is disabled.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase, "false")] public bool IsDisabled { get; }
Property Value
Type: System.BooleanA Boolean value that specifies whether the login account is disabled. If True, the login is disabled.If False (default), the login is not disabled.
