UserAccess-Eigenschaft

Gets or sets the database user access.

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

Syntax

'Declaration
<SfcPropertyAttribute> _
Public Property UserAccess As DatabaseUserAccess
    Get
    Set
'Usage
Dim instance As Database
Dim value As DatabaseUserAccess

value = instance.UserAccess

instance.UserAccess = value
[SfcPropertyAttribute]
public DatabaseUserAccess UserAccess { get; set; }
[SfcPropertyAttribute]
public:
virtual property DatabaseUserAccess UserAccess {
    DatabaseUserAccess get () sealed;
    void set (DatabaseUserAccess value) sealed;
}
[<SfcPropertyAttribute>]
abstract UserAccess : DatabaseUserAccess with get, set
[<SfcPropertyAttribute>]
override UserAccess : DatabaseUserAccess with get, set
final function get UserAccess () : DatabaseUserAccess
final function set UserAccess (value : DatabaseUserAccess)

Eigenschaftenwert

Typ: Microsoft.SqlServer.Management.Smo. . :: . .DatabaseUserAccess
A DatabaseUserAccess object value that specifies the database user access.

Implementiert

IDatabaseOptions. . :: . .UserAccess