共用方式為


MajorObject Class

Serves as the base class from which all major objects are derived.

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

語法

'宣告
<GuidAttribute("92668AA5-FE9A-49ea-BE65-45F19305EDC5")> _
<DesignerAttribute("Microsoft.AnalysisServices.Design.MajorObjectDesigner, Microsoft.AnalysisServices.Design, PublicKeyToken=89845dcd8080cc91")> _
<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey:="0024000004800000940000000602000000240000525341310004000001000100272736AD6E5F9586BAC2D531EABC3ACC666C2F8EC879FA94F8F7B0327D2FF2ED523448F83C3D5C5DD2DFC7BC99C5286B2C125117BF5CBE242B9D41750732B2BDFFE649C6EFB8E5526D526FDD130095ECDB7BF210809C6CDAD8824FAA9AC0310AC3CBA2AA0523567B2DFA7FE250B30FACBD62D4EC99B94AC47C7D3B28F1F6E4C8")> _
Public MustInherit Class MajorObject
    Inherits NamedComponent
    Implements IDeserializationStartCallback, IDeserializationCallback
[GuidAttribute("92668AA5-FE9A-49ea-BE65-45F19305EDC5")] 
[DesignerAttribute("Microsoft.AnalysisServices.Design.MajorObjectDesigner, Microsoft.AnalysisServices.Design, PublicKeyToken=89845dcd8080cc91")] 
[StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey="0024000004800000940000000602000000240000525341310004000001000100272736AD6E5F9586BAC2D531EABC3ACC666C2F8EC879FA94F8F7B0327D2FF2ED523448F83C3D5C5DD2DFC7BC99C5286B2C125117BF5CBE242B9D41750732B2BDFFE649C6EFB8E5526D526FDD130095ECDB7BF210809C6CDAD8824FAA9AC0310AC3CBA2AA0523567B2DFA7FE250B30FACBD62D4EC99B94AC47C7D3B28F1F6E4C8")] 
public abstract class MajorObject : NamedComponent, IDeserializationStartCallback, IDeserializationCallback
[GuidAttribute(L"92668AA5-FE9A-49ea-BE65-45F19305EDC5")] 
[DesignerAttribute(L"Microsoft.AnalysisServices.Design.MajorObjectDesigner, Microsoft.AnalysisServices.Design, PublicKeyToken=89845dcd8080cc91")] 
[StrongNameIdentityPermissionAttribute(SecurityAction::InheritanceDemand, PublicKey=L"0024000004800000940000000602000000240000525341310004000001000100272736AD6E5F9586BAC2D531EABC3ACC666C2F8EC879FA94F8F7B0327D2FF2ED523448F83C3D5C5DD2DFC7BC99C5286B2C125117BF5CBE242B9D41750732B2BDFFE649C6EFB8E5526D526FDD130095ECDB7BF210809C6CDAD8824FAA9AC0310AC3CBA2AA0523567B2DFA7FE250B30FACBD62D4EC99B94AC47C7D3B28F1F6E4C8")] 
public ref class MajorObject abstract : public NamedComponent, IDeserializationStartCallback, IDeserializationCallback
/** @attribute GuidAttribute("92668AA5-FE9A-49ea-BE65-45F19305EDC5") */ 
/** @attribute DesignerAttribute("Microsoft.AnalysisServices.Design.MajorObjectDesigner, Microsoft.AnalysisServices.Design, PublicKeyToken=89845dcd8080cc91") */ 
/** @attribute StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey="0024000004800000940000000602000000240000525341310004000001000100272736AD6E5F9586BAC2D531EABC3ACC666C2F8EC879FA94F8F7B0327D2FF2ED523448F83C3D5C5DD2DFC7BC99C5286B2C125117BF5CBE242B9D41750732B2BDFFE649C6EFB8E5526D526FDD130095ECDB7BF210809C6CDAD8824FAA9AC0310AC3CBA2AA0523567B2DFA7FE250B30FACBD62D4EC99B94AC47C7D3B28F1F6E4C8") */ 
public abstract class MajorObject extends NamedComponent implements IDeserializationStartCallback, IDeserializationCallback
GuidAttribute("92668AA5-FE9A-49ea-BE65-45F19305EDC5") 
DesignerAttribute("Microsoft.AnalysisServices.Design.MajorObjectDesigner, Microsoft.AnalysisServices.Design, PublicKeyToken=89845dcd8080cc91") 
public abstract class MajorObject extends NamedComponent implements IDeserializationStartCallback, IDeserializationCallback

備註

新增:2006 年 7 月 17 日

A major object is a class that represents a complete object as a whole entity and not as a part of another object, such objects can be independently created, altered and deleted. The following is a list of major objects.

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
     System.ComponentModel.Component
       Microsoft.AnalysisServices.ModelComponent
         Microsoft.AnalysisServices.NamedComponent
          Microsoft.AnalysisServices.MajorObject
             Derived Classes

執行緒安全性

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

請參閱

參考

MajorObject Members
Microsoft.AnalysisServices Namespace