共用方式為


UserAccess 屬性

Gets or sets the database user access.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public Property UserAccess As DatabaseUserAccess
    Get
    Set
'用途
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)

屬性值

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

實作

IDatabaseOptions. . :: . .UserAccess