DatabaseUserAccess Enumeration

The DatabaseUserAccess enumeration is a list of constant values that specify the way in which user access can be restricted.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)

public enum DatabaseUserAccess
public enum DatabaseUserAccess
public enum DatabaseUserAccess

Member nameDescription
MultipleUnder normal operation on a multiuser database, multiple users have access to the database.
RestrictedAccess to the database may be restricted to particular users during certain operations.
SingleAccess to the database is restricted to a single user.

The DatabaseUserAccess enumeration class is served by the UserAccess property.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Community Additions