共用方式為


MajorObject 建構函式 (String)

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

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Protected Sub New ( _
    name As String _
)
'用途
Dim name As String 

Dim instance As New MajorObject(name)
protected MajorObject(
    string name
)
protected:
MajorObject(
    String^ name
)
new : 
        name:string -> MajorObject
protected function MajorObject(
    name : String
)

參數

  • name
    型別:System.String
    A System.String containing the name 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.

請參閱

參考

MajorObject 類別

MajorObject 多載

Microsoft.AnalysisServices 命名空間