共用方式為


DatabasePermission 類別

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

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
<GuidAttribute("E8FA45D6-EE84-4a08-A3F7-9B0BD13FC461")> _
Public NotInheritable Class DatabasePermission _
    Inherits Permission _
    Implements IMajorObject, INamedComponent, IModelComponent, IComponent,  _
    IDisposable, ICloneable
'用途
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

備註

新增: 2006 年 7 月 17 日

執行緒安全性

這個類型的任何公用static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員都可以是安全執行緒。