共用方式為


DataSourceView Class

Represents a data source view used by a Microsoft SQL Server 2005 Analysis Services (SSAS)Database element. This class cannot be inherited.

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

語法

'宣告
<DesignerAttribute("Microsoft.AnalysisServices.Design.DataSourceDesigner, Microsoft.AnalysisServices.Design", GetType(IRootDesigner))> _
<DesignerCategoryAttribute("Designer")> _
<DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.DesignXmlSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.DesignerComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")> _
<XmlRootAttribute("DataSourceView", Namespace:="https://schemas.microsoft.com/analysisservices/2003/engine")> _
<GuidAttribute("66A0FB41-ADB5-4729-B315-C191F7FD3E90")> _
<DesignerAttribute("Microsoft.AnalysisServices.Design.DataSourceDesigner, Microsoft.AnalysisServices.Design", GetType(IDesigner))> _
<DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")> _
<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey:="0024000004800000940000000602000000240000525341310004000001000100272736AD6E5F9586BAC2D531EABC3ACC666C2F8EC879FA94F8F7B0327D2FF2ED523448F83C3D5C5DD2DFC7BC99C5286B2C125117BF5CBE242B9D41750732B2BDFFE649C6EFB8E5526D526FDD130095ECDB7BF210809C6CDAD8824FAA9AC0310AC3CBA2AA0523567B2DFA7FE250B30FACBD62D4EC99B94AC47C7D3B28F1F6E4C8")> _
Public NotInheritable Class DataSourceView
    Inherits MajorObject
    Implements IMajorObject, INamedComponent, IModelComponent, IComponent, _
    IDisposable, ICloneable
[DesignerAttribute("Microsoft.AnalysisServices.Design.DataSourceDesigner, Microsoft.AnalysisServices.Design", typeof(IRootDesigner))] 
[DesignerCategoryAttribute("Designer")] 
[DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.DesignXmlSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.DesignerComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")] 
[XmlRootAttribute("DataSourceView", Namespace="https://schemas.microsoft.com/analysisservices/2003/engine")] 
[GuidAttribute("66A0FB41-ADB5-4729-B315-C191F7FD3E90")] 
[DesignerAttribute("Microsoft.AnalysisServices.Design.DataSourceDesigner, Microsoft.AnalysisServices.Design", typeof(IDesigner))] 
[DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")] 
[StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey="0024000004800000940000000602000000240000525341310004000001000100272736AD6E5F9586BAC2D531EABC3ACC666C2F8EC879FA94F8F7B0327D2FF2ED523448F83C3D5C5DD2DFC7BC99C5286B2C125117BF5CBE242B9D41750732B2BDFFE649C6EFB8E5526D526FDD130095ECDB7BF210809C6CDAD8824FAA9AC0310AC3CBA2AA0523567B2DFA7FE250B30FACBD62D4EC99B94AC47C7D3B28F1F6E4C8")] 
public sealed class DataSourceView : MajorObject, IMajorObject, INamedComponent, IModelComponent, 
    IComponent, IDisposable, ICloneable
[DesignerAttribute(L"Microsoft.AnalysisServices.Design.DataSourceDesigner, Microsoft.AnalysisServices.Design", typeof(IRootDesigner))] 
[DesignerCategoryAttribute(L"Designer")] 
[DesignerSerializerAttribute(L"Microsoft.DataWarehouse.Serialization.DesignXmlSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", L"Microsoft.DataWarehouse.Serialization.DesignerComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91")] 
[XmlRootAttribute(L"DataSourceView", Namespace=L"https://schemas.microsoft.com/analysisservices/2003/engine")] 
[GuidAttribute(L"66A0FB41-ADB5-4729-B315-C191F7FD3E90")] 
[DesignerAttribute(L"Microsoft.AnalysisServices.Design.DataSourceDesigner, Microsoft.AnalysisServices.Design", typeof(IDesigner))] 
[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 DataSourceView sealed : public MajorObject, IMajorObject, INamedComponent, IModelComponent, 
    IComponent, IDisposable, ICloneable
/** @attribute DesignerAttribute("Microsoft.AnalysisServices.Design.DataSourceDesigner, Microsoft.AnalysisServices.Design", System.ComponentModel.Design.IRootDesigner) */ 
/** @attribute DesignerCategoryAttribute("Designer") */ 
/** @attribute DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.DesignXmlSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.DesignerComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91") */ 
/** @attribute XmlRootAttribute("DataSourceView", Namespace="https://schemas.microsoft.com/analysisservices/2003/engine") */ 
/** @attribute GuidAttribute("66A0FB41-ADB5-4729-B315-C191F7FD3E90") */ 
/** @attribute DesignerAttribute("Microsoft.AnalysisServices.Design.DataSourceDesigner, Microsoft.AnalysisServices.Design", System.ComponentModel.Design.IDesigner) */ 
/** @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 final class DataSourceView extends MajorObject implements IMajorObject, INamedComponent, 
    IModelComponent, IComponent, IDisposable, ICloneable
DesignerAttribute("Microsoft.AnalysisServices.Design.DataSourceDesigner, Microsoft.AnalysisServices.Design", System.ComponentModel.Design.IRootDesigner) 
DesignerCategoryAttribute("Designer") 
DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.DesignXmlSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.DesignerComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91") 
XmlRootAttribute("DataSourceView", Namespace="https://schemas.microsoft.com/analysisservices/2003/engine") 
GuidAttribute("66A0FB41-ADB5-4729-B315-C191F7FD3E90") 
DesignerAttribute("Microsoft.AnalysisServices.Design.DataSourceDesigner, Microsoft.AnalysisServices.Design", System.ComponentModel.Design.IDesigner) 
DesignerSerializerAttribute("Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", "Microsoft.DataWarehouse.Serialization.OnlineComponentSerializer, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91") 
public final class DataSourceView extends MajorObject implements IMajorObject, INamedComponent, 
    IModelComponent, IComponent, IDisposable, ICloneable

Inheritance Hierarchy

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

執行緒安全性

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 的硬體和軟體需求>。

請參閱

參考

DataSourceView Members
Microsoft.AnalysisServices Namespace