共用方式為


DatabasePermission Class

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

命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

語法

'宣告
<XmlRootAttribute(Namespace:="https://schemas.microsoft.com/analysisservices/2003/engine")> _
<GuidAttribute("E8FA45D6-EE84-4a08-A3F7-9B0BD13FC461")> _
Public NotInheritable Class DatabasePermission
    Inherits Permission
    Implements IMajorObject, INamedComponent, IModelComponent, IComponent, _
    IDisposable, ICloneable
[XmlRootAttribute(Namespace="https://schemas.microsoft.com/analysisservices/2003/engine")] 
[GuidAttribute("E8FA45D6-EE84-4a08-A3F7-9B0BD13FC461")] 
public sealed class DatabasePermission : Permission, IMajorObject, INamedComponent, IModelComponent, 
    IComponent, IDisposable, ICloneable
[XmlRootAttribute(Namespace=L"https://schemas.microsoft.com/analysisservices/2003/engine")] 
[GuidAttribute(L"E8FA45D6-EE84-4a08-A3F7-9B0BD13FC461")] 
public ref class DatabasePermission sealed : public Permission, IMajorObject, INamedComponent, IModelComponent, 
    IComponent, IDisposable, ICloneable
/** @attribute XmlRootAttribute(Namespace="https://schemas.microsoft.com/analysisservices/2003/engine") */ 
/** @attribute GuidAttribute("E8FA45D6-EE84-4a08-A3F7-9B0BD13FC461") */ 
public final class DatabasePermission extends Permission implements IMajorObject, INamedComponent, 
    IModelComponent, IComponent, IDisposable, ICloneable
XmlRootAttribute(Namespace="https://schemas.microsoft.com/analysisservices/2003/engine") 
GuidAttribute("E8FA45D6-EE84-4a08-A3F7-9B0BD13FC461") 
public final class DatabasePermission extends Permission implements IMajorObject, INamedComponent, 
    IModelComponent, IComponent, IDisposable, ICloneable

備註

新增:2006 年 7 月 17 日

Inheritance Hierarchy

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

執行緒安全性

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

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

DatabasePermission Members
Microsoft.AnalysisServices Namespace