DatabasePermissionSet-Klasse

The DatabasePermissionSet object represents a SQL Server set of database permissions.

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

Syntax

'Declaration
Public NotInheritable Class DatabasePermissionSet _
    Inherits PermissionSetBase
'Usage
Dim instance As DatabasePermissionSet
public sealed class DatabasePermissionSet : PermissionSetBase
public ref class DatabasePermissionSet sealed : public PermissionSetBase
[<SealedAttribute>]
type DatabasePermissionSet =  
    class
        inherit PermissionSetBase
    end
public final class DatabasePermissionSet extends PermissionSetBase

Hinweise

Database permissions are required when running granting, denying, or revoking permissions on a database. The DatabasePermissionSet object is required to specify the set of permissions that apply to the Grant method, the Deny method, and the Revoke method of the Database object.

Thread Safety

Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Für Instanzelemente kann nicht sichergestellt werden, dass sie für Threads sicher sind.

Vererbungshierarchie

System. . :: . .Object
  Microsoft.SqlServer.Management.Smo. . :: . .PermissionSetBase
    Microsoft.SqlServer.Management.Smo..::..DatabasePermissionSet

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.