共用方式為


DataSourcePermission 類別

Defines the permissions for the members, of a specific Role element, over a specific DataSource. This class cannot be inherited.

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

語法

'宣告
<GuidAttribute("5F1DA093-C8AE-4995-A1E9-2817385F4E7C")> _
Public NotInheritable Class DataSourcePermission _
    Inherits Permission _
    Implements IMajorObject, INamedComponent, IModelComponent, IComponent,  _
    IDisposable, ICloneable
'用途
Dim instance As DataSourcePermission
[GuidAttribute("5F1DA093-C8AE-4995-A1E9-2817385F4E7C")]
public sealed class DataSourcePermission : Permission, 
    IMajorObject, INamedComponent, IModelComponent, IComponent, IDisposable, 
    ICloneable
[GuidAttribute(L"5F1DA093-C8AE-4995-A1E9-2817385F4E7C")]
public ref class DataSourcePermission sealed : public Permission, 
    IMajorObject, INamedComponent, IModelComponent, IComponent, IDisposable, 
    ICloneable
[<SealedAttribute>]
[<GuidAttribute("5F1DA093-C8AE-4995-A1E9-2817385F4E7C")>]
type DataSourcePermission =  
    class
        inherit Permission
        interface IMajorObject
        interface INamedComponent
        interface IModelComponent
        interface IComponent
        interface IDisposable
        interface ICloneable
    end
public final class DataSourcePermission extends Permission implements IMajorObject, INamedComponent, IModelComponent, IComponent, IDisposable, ICloneable

備註

新增: 2006 年 7 月 17 日

執行緒安全性

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