Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Gets or sets whether to restrict access for the newly restored database to members of the db_owner, dbcreator, or sysadmin roles.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)
Syntaxe
'Déclaration
Public Property SetRestrictedUser As Boolean
Get
Set
'Utilisation
Dim instance As RestoreOptions
Dim value As Boolean
value = instance.SetRestrictedUser
instance.SetRestrictedUser = value
public bool SetRestrictedUser { get; set; }
public:
property bool SetRestrictedUser {
bool get ();
void set (bool value);
}
member SetRestrictedUser : bool with get, set
function get SetRestrictedUser () : boolean
function set SetRestrictedUser (value : boolean)
Valeur de propriété
Type : System.Boolean
True if restrict access for the newly restored database to members of the db_owner, dbcreator, or sysadmin roles; otherwise, false.