共用方式為


MajorObject Constructor (String, String)

Initializes a new major object as implemented by the derived class using the specified object name and identifier of the object.

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

語法

'宣告
Protected Sub New ( _
    name As String, _
    id As String _
)
protected MajorObject (
    string name,
    string id
)
protected:
MajorObject (
    String^ name, 
    String^ id
)
protected MajorObject (
    String name, 
    String id
)
protected function MajorObject (
    name : String, 
    id : String
)

參數

  • name
    A System.String containing the name of the object.
  • id
    A System.String containing the identifier of the object.

備註

A protected member is accessible from within the class in which it is declared, and from within any class derived from the class that declared this member.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

MajorObject Class
MajorObject Members
Microsoft.AnalysisServices Namespace