Export (0) Print
Expand All

Restore.RestrictedUser Property

Gets or sets a Boolean property value that specifies whether access to the restored database is restricted to members of the db_owner fixed database role and the dbcreator and sysadmin fixed server roles.

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

public bool RestrictedUser { get; set; }

Property Value

Type: System.Boolean
A Boolean value that specifies whether access to the restored database will be restricted.
If True, access to the restored database is restricted to the db_owner fixed database role, and the dbcreator and sysadmin fixed server roles. Otherwise, False (default).

Community Additions

ADD
Show:
© 2015 Microsoft