TechNet
Export (0) Print
Expand All

RestoreOptions.SetRestrictedUser Property

 

Gets or sets whether to restrict access for the newly restored database to members of the db_owner, dbcreator, or sysadmin roles.

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

public bool SetRestrictedUser { get; set; }

Property Value

Type: System.Boolean

True if restrict access for the newly restored database to members of the db_owner, dbcreator, or sysadmin roles; otherwise, false.

Return to top
Show:
© 2016 Microsoft