次の方法で共有


Role Class

ユーザーのグループに関連付けられているセキュリティのレベルを表します。このクラスは継承できません。

名前空間: Microsoft.AnalysisServices
アセンブリ: Microsoft.AnalysisServices (microsoft.analysisservices.dll 内)

構文

'宣言
<DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.DesignXmlSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.DesignerComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")> _
<DesignerCategoryAttribute("Designer")> _
<XmlRootAttribute(Namespace:="https://schemas.microsoft.com/analysisservices/2003/engine")> _
<DesignerAttribute("Microsoft.AnalysisServices.Design.RoleDesigner,Microsoft.AnalysisServices.Design", GetType(IRootDesigner))> _
<GuidAttribute("28199D46-92B9-47a0-AA19-4ECF2498F30F")> _
<DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")> _
Public NotInheritable Class Role
    Inherits MajorObject
    Implements IMajorObject, INamedComponent, IModelComponent, IComponent, _
    IDisposable, ICloneable
[DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.DesignXmlSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.DesignerComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")] 
[DesignerCategoryAttribute("Designer")] 
[XmlRootAttribute(Namespace="https://schemas.microsoft.com/analysisservices/2003/engine")] 
[DesignerAttribute("Microsoft.AnalysisServices.Design.RoleDesigner,Microsoft.AnalysisServices.Design", typeof(IRootDesigner))] 
[GuidAttribute("28199D46-92B9-47a0-AA19-4ECF2498F30F")] 
[DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")] 
public sealed class Role : MajorObject, IMajorObject, INamedComponent, IModelComponent, 
    IComponent, IDisposable, ICloneable
[DesignerSerializerAttribute(L"Microsoft.DataWarehouse.Serialization.DesignXmlSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", L"Microsoft.DataWarehouse.Serialization.DesignerComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")] 
[DesignerCategoryAttribute(L"Designer")] 
[XmlRootAttribute(Namespace=L"https://schemas.microsoft.com/analysisservices/2003/engine")] 
[DesignerAttribute(L"Microsoft.AnalysisServices.Design.RoleDesigner,Microsoft.AnalysisServices.Design", typeof(IRootDesigner))] 
[GuidAttribute(L"28199D46-92B9-47a0-AA19-4ECF2498F30F")] 
[DesignerSerializerAttribute(L"Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", L"Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")] 
public ref class Role sealed : public MajorObject, IMajorObject, INamedComponent, IModelComponent, 
    IComponent, IDisposable, ICloneable
/** @attribute DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.DesignXmlSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.DesignerComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91") */ 
/** @attribute DesignerCategoryAttribute("Designer") */ 
/** @attribute XmlRootAttribute(Namespace="https://schemas.microsoft.com/analysisservices/2003/engine") */ 
/** @attribute DesignerAttribute("Microsoft.AnalysisServices.Design.RoleDesigner,Microsoft.AnalysisServices.Design", System.ComponentModel.Design.IRootDesigner) */ 
/** @attribute GuidAttribute("28199D46-92B9-47a0-AA19-4ECF2498F30F") */ 
/** @attribute DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91") */ 
public final class Role extends MajorObject implements IMajorObject, INamedComponent, 
    IModelComponent, IComponent, IDisposable, ICloneable
DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.DesignXmlSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.DesignerComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91") 
DesignerCategoryAttribute("Designer") 
XmlRootAttribute(Namespace="https://schemas.microsoft.com/analysisservices/2003/engine") 
DesignerAttribute("Microsoft.AnalysisServices.Design.RoleDesigner,Microsoft.AnalysisServices.Design", System.ComponentModel.Design.IRootDesigner) 
GuidAttribute("28199D46-92B9-47a0-AA19-4ECF2498F30F") 
DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91") 
public final class Role extends MajorObject implements IMajorObject, INamedComponent, 
    IModelComponent, IComponent, IDisposable, ICloneable

解説

Role は、Server または Database によって所有されます。Role の定義には、Role のメンバであるユーザーが含まれます。

継承階層

System.Object
   System.MarshalByRefObject
     System.ComponentModel.Component
       Microsoft.AnalysisServices.ModelComponent
         Microsoft.AnalysisServices.NamedComponent
           Microsoft.AnalysisServices.MajorObject
            Microsoft.AnalysisServices.Role

スレッド セーフ

この型の public static (Microsoft Visual Basic では共有 ) メンバは、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。

プラットフォーム

開発プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

対象プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

参照

関連項目

Role Members
Microsoft.AnalysisServices Namespace