Freigeben über


UserAccess-Eigenschaft

Ruft den Benutzerzugriff auf die Datenbank ab oder legt ihn fest.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Deploy)> _
Public Property UserAccess As DatabaseUserAccess
    Get
    Set
'Usage
Dim instance As Database
Dim value As DatabaseUserAccess

value = instance.UserAccess

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

Eigenschaftswert

Typ: Microsoft.SqlServer.Management.Smo. . :: . .DatabaseUserAccess
Ein DatabaseUserAccess-Objektwert, der den Benutzerzugriff auf die Datenbank angibt.

Implementiert

IDatabaseOptions. . :: . .UserAccess