Database.UserAccess Property
Gets or sets the database user access.
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)
Property Value
Type: Microsoft.SqlServer.Management.Smo.DatabaseUserAccess
A DatabaseUserAccess object value that specifies the database user access.
Implements
See Also