RestoreOptions.SetRestrictedUser 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.
RESTRICTED_USER Restricts access for the newly restored database to members of the db_owner, dbcreator, or sysadmin roles.
public bool SetRestrictedUser { get; set; }
member this.SetRestrictedUser : bool with get, set
Public Property SetRestrictedUser As Boolean
Property Value
true
if [set restricted user]; otherwise, false
.