Dela via


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)

Syntax

'Declaration
Public Enumeration DatabaseUserAccess
'Usage
Dim instance As DatabaseUserAccess
public enum DatabaseUserAccess
public enum class DatabaseUserAccess
type DatabaseUserAccess
public enum DatabaseUserAccess

Members

Member name Description
Single Access is limited to a single user.
Restricted Access to the database might be restricted to particular users during certain operations.
Multiple Under normal operation on a multiuser database, multiple users have access to the database.

Remarks

The DatabaseUserAccess enumeration class is served by the UserAccess property.