次の方法で共有


DataSource Class

Microsoft SQL Server 2005 Analysis Services (SSAS) Database 要素内のデータ ソースを定義します。

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

構文

'宣言
<DesignerCategoryAttribute("Designer")> _
<XmlIncludeAttribute(GetType(RelationalDataSource))> _
<GuidAttribute("D592FE72-4B71-4366-BB6D-6FD97A338DFC")> _
<XmlIncludeAttribute(GetType(OlapDataSource))> _
<XmlRootAttribute("DataSource", Namespace:="https://schemas.microsoft.com/analysisservices/2003/engine")> _
<DesignerAttribute("Microsoft.AnalysisServices.Design.DataSource.DataSourcePopupDesigner, Microsoft.AnalysisServices.Design.DataSource", GetType(IRootDesigner))> _
<DesignerAttribute("Microsoft.AnalysisServices.Design.DataSource.DataSourcePopupDesigner, Microsoft.AnalysisServices.Design.DataSource", GetType(IDesigner))> _
<DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.DesignXmlSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.DesignerComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")> _
<DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")> _
<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey:="0024000004800000940000000602000000240000525341310004000001000100272736AD6E5F9586BAC2D531EABC3ACC666C2F8EC879FA94F8F7B0327D2FF2ED523448F83C3D5C5DD2DFC7BC99C5286B2C125117BF5CBE242B9D41750732B2BDFFE649C6EFB8E5526D526FDD130095ECDB7BF210809C6CDAD8824FAA9AC0310AC3CBA2AA0523567B2DFA7FE250B30FACBD62D4EC99B94AC47C7D3B28F1F6E4C8")> _
Public MustInherit Class DataSource
    Inherits MajorObject
    Implements IMajorObject, INamedComponent, IModelComponent, IComponent, _
    IDisposable, ICloneable, IConnectionStringHolder
[DesignerCategoryAttribute("Designer")] 
[XmlIncludeAttribute(typeof(RelationalDataSource))] 
[GuidAttribute("D592FE72-4B71-4366-BB6D-6FD97A338DFC")] 
[XmlIncludeAttribute(typeof(OlapDataSource))] 
[XmlRootAttribute("DataSource", Namespace="https://schemas.microsoft.com/analysisservices/2003/engine")] 
[DesignerAttribute("Microsoft.AnalysisServices.Design.DataSource.DataSourcePopupDesigner, Microsoft.AnalysisServices.Design.DataSource", typeof(IRootDesigner))] 
[DesignerAttribute("Microsoft.AnalysisServices.Design.DataSource.DataSourcePopupDesigner, Microsoft.AnalysisServices.Design.DataSource", typeof(IDesigner))] 
[DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.DesignXmlSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.DesignerComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")] 
[DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")] 
[StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey="0024000004800000940000000602000000240000525341310004000001000100272736AD6E5F9586BAC2D531EABC3ACC666C2F8EC879FA94F8F7B0327D2FF2ED523448F83C3D5C5DD2DFC7BC99C5286B2C125117BF5CBE242B9D41750732B2BDFFE649C6EFB8E5526D526FDD130095ECDB7BF210809C6CDAD8824FAA9AC0310AC3CBA2AA0523567B2DFA7FE250B30FACBD62D4EC99B94AC47C7D3B28F1F6E4C8")] 
public abstract class DataSource : MajorObject, IMajorObject, INamedComponent, IModelComponent, 
    IComponent, IDisposable, ICloneable, IConnectionStringHolder
[DesignerCategoryAttribute(L"Designer")] 
[XmlIncludeAttribute(typeof(RelationalDataSource))] 
[GuidAttribute(L"D592FE72-4B71-4366-BB6D-6FD97A338DFC")] 
[XmlIncludeAttribute(typeof(OlapDataSource))] 
[XmlRootAttribute(L"DataSource", Namespace=L"https://schemas.microsoft.com/analysisservices/2003/engine")] 
[DesignerAttribute(L"Microsoft.AnalysisServices.Design.DataSource.DataSourcePopupDesigner, Microsoft.AnalysisServices.Design.DataSource", typeof(IRootDesigner))] 
[DesignerAttribute(L"Microsoft.AnalysisServices.Design.DataSource.DataSourcePopupDesigner, Microsoft.AnalysisServices.Design.DataSource", typeof(IDesigner))] 
[DesignerSerializerAttribute(L"Microsoft.DataWarehouse.Serialization.DesignXmlSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", L"Microsoft.DataWarehouse.Serialization.DesignerComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")] 
[DesignerSerializerAttribute(L"Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", L"Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")] 
[StrongNameIdentityPermissionAttribute(SecurityAction::InheritanceDemand, PublicKey=L"0024000004800000940000000602000000240000525341310004000001000100272736AD6E5F9586BAC2D531EABC3ACC666C2F8EC879FA94F8F7B0327D2FF2ED523448F83C3D5C5DD2DFC7BC99C5286B2C125117BF5CBE242B9D41750732B2BDFFE649C6EFB8E5526D526FDD130095ECDB7BF210809C6CDAD8824FAA9AC0310AC3CBA2AA0523567B2DFA7FE250B30FACBD62D4EC99B94AC47C7D3B28F1F6E4C8")] 
public ref class DataSource abstract : public MajorObject, IMajorObject, INamedComponent, IModelComponent, 
    IComponent, IDisposable, ICloneable, IConnectionStringHolder
/** @attribute DesignerCategoryAttribute("Designer") */ 
/** @attribute XmlIncludeAttribute(Microsoft.AnalysisServices.RelationalDataSource) */ 
/** @attribute GuidAttribute("D592FE72-4B71-4366-BB6D-6FD97A338DFC") */ 
/** @attribute XmlIncludeAttribute(Microsoft.AnalysisServices.OlapDataSource) */ 
/** @attribute XmlRootAttribute("DataSource", Namespace="https://schemas.microsoft.com/analysisservices/2003/engine") */ 
/** @attribute DesignerAttribute("Microsoft.AnalysisServices.Design.DataSource.DataSourcePopupDesigner, Microsoft.AnalysisServices.Design.DataSource", System.ComponentModel.Design.IRootDesigner) */ 
/** @attribute DesignerAttribute("Microsoft.AnalysisServices.Design.DataSource.DataSourcePopupDesigner, Microsoft.AnalysisServices.Design.DataSource", System.ComponentModel.Design.IDesigner) */ 
/** @attribute DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.DesignXmlSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.DesignerComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91") */ 
/** @attribute DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91") */ 
/** @attribute StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey="0024000004800000940000000602000000240000525341310004000001000100272736AD6E5F9586BAC2D531EABC3ACC666C2F8EC879FA94F8F7B0327D2FF2ED523448F83C3D5C5DD2DFC7BC99C5286B2C125117BF5CBE242B9D41750732B2BDFFE649C6EFB8E5526D526FDD130095ECDB7BF210809C6CDAD8824FAA9AC0310AC3CBA2AA0523567B2DFA7FE250B30FACBD62D4EC99B94AC47C7D3B28F1F6E4C8") */ 
public abstract class DataSource extends MajorObject implements IMajorObject, INamedComponent, 
    IModelComponent, IComponent, IDisposable, ICloneable, IConnectionStringHolder
DesignerCategoryAttribute("Designer") 
XmlIncludeAttribute(Microsoft.AnalysisServices.RelationalDataSource) 
GuidAttribute("D592FE72-4B71-4366-BB6D-6FD97A338DFC") 
XmlIncludeAttribute(Microsoft.AnalysisServices.OlapDataSource) 
XmlRootAttribute("DataSource", Namespace="https://schemas.microsoft.com/analysisservices/2003/engine") 
DesignerAttribute("Microsoft.AnalysisServices.Design.DataSource.DataSourcePopupDesigner, Microsoft.AnalysisServices.Design.DataSource", System.ComponentModel.Design.IRootDesigner) 
DesignerAttribute("Microsoft.AnalysisServices.Design.DataSource.DataSourcePopupDesigner, Microsoft.AnalysisServices.Design.DataSource", System.ComponentModel.Design.IDesigner) 
DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.DesignXmlSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.DesignerComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91") 
DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91") 
public abstract class DataSource extends MajorObject implements IMajorObject, INamedComponent, 
    IModelComponent, IComponent, IDisposable, ICloneable, IConnectionStringHolder

継承階層

System.Object
   System.MarshalByRefObject
     System.ComponentModel.Component
       Microsoft.AnalysisServices.ModelComponent
         Microsoft.AnalysisServices.NamedComponent
           Microsoft.AnalysisServices.MajorObject
            Microsoft.AnalysisServices.DataSource
               Microsoft.AnalysisServices.OlapDataSource
               Microsoft.AnalysisServices.RelationalDataSource

スレッド セーフ

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

プラットフォーム

開発プラットフォーム

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

対象プラットフォーム

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

参照

関連項目

DataSource Members
Microsoft.AnalysisServices Namespace