We recommend using Visual Studio 2017

DatabaseUserAccess Enumeration

The DatabaseUserAccess enumeration is a list of constant values that specify how user access can be restricted.

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

public enum DatabaseUserAccess

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

The DatabaseUserAccess enumeration class is served by the UserAccess property.