DatabaseEngineSecuritySettings.AddCurrentUserAsSQLAdmin Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets whether to add the current user as SQL administrator.
public:
property bool AddCurrentUserAsSQLAdmin { bool get(); void set(bool value); };
public bool AddCurrentUserAsSQLAdmin { get; set; }
member this.AddCurrentUserAsSQLAdmin : bool with get, set
Public Property AddCurrentUserAsSQLAdmin As Boolean
Property Value
true
to add the current user as SQL administrator; otherwise, false
.