MajorObject 构造函数 (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(在 Microsoft.AnalysisServices.dll 中)

语法

声明
Protected Sub New ( _
    name As String, _
    id As String _
)
用法
Dim name As String 
Dim id As String 

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

参数

  • name
    类型:System.String
    A System.String containing the name of the object.
  • id
    类型:System.String
    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.

请参阅

参考

MajorObject 类

MajorObject 重载

Microsoft.AnalysisServices 命名空间