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 DatabaseOptions
Dim value As DatabaseUserAccess

value = instance.UserAccess

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

属性值

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

示例

设置属性