UserAccess 屬性
取得或設定資料庫使用者存取權。
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Deploy)> _
Public Property UserAccess As DatabaseUserAccess
Get
Set
'用途
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)
屬性值
型別:Microsoft.SqlServer.Management.Smo. . :: . .DatabaseUserAccess
指定資料庫使用者存取權的 DatabaseUserAccess 物件值。