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: Boolean
True if restrict access for the newly restored database to members of the db_owner, dbcreator, or sysadmin roles; otherwise, false.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft