Share via


DataSource Class

Defines a data source in a Microsoft SQL Server 2005 Analysis Services (SSAS)Database element.

Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Sintaxis

'Declaración
<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

Inheritance Hierarchy

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

Seguridad para subprocesos

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.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

DataSource Members
Microsoft.AnalysisServices Namespace