Share via


DatabasePermission Class

Defines the permissions of the members of a specific Role element in a Database. This class cannot be inherited.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
<GuidAttribute("E8FA45D6-EE84-4a08-A3F7-9B0BD13FC461")> _
Public NotInheritable Class DatabasePermission _
    Inherits Permission _
    Implements IMajorObject, INamedComponent, IModelComponent, IComponent,  _
    IDisposable, ICloneable
'Usage
Dim instance As DatabasePermission
[GuidAttribute("E8FA45D6-EE84-4a08-A3F7-9B0BD13FC461")]
public sealed class DatabasePermission : Permission, 
    IMajorObject, INamedComponent, IModelComponent, IComponent, IDisposable, 
    ICloneable
[GuidAttribute(L"E8FA45D6-EE84-4a08-A3F7-9B0BD13FC461")]
public ref class DatabasePermission sealed : public Permission, 
    IMajorObject, INamedComponent, IModelComponent, IComponent, IDisposable, 
    ICloneable
[<SealedAttribute>]
[<GuidAttribute("E8FA45D6-EE84-4a08-A3F7-9B0BD13FC461")>]
type DatabasePermission =  
    class
        inherit Permission
        interface IMajorObject
        interface INamedComponent
        interface IModelComponent
        interface IComponent
        interface IDisposable
        interface ICloneable
    end
public final class DatabasePermission extends Permission implements IMajorObject, INamedComponent, IModelComponent, IComponent, IDisposable, ICloneable

Remarks

New: 17 July 2006

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      Microsoft.AnalysisServices.ModelComponent
        Microsoft.AnalysisServices.NamedComponent
          Microsoft.AnalysisServices.MajorObject
            Microsoft.AnalysisServices.Permission
              Microsoft.AnalysisServices.DatabasePermission

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.