Partager via


Constructeur MajorObject (String, String)

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

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Protected Sub New ( _
    name As String, _
    id As String _
)
'Utilisation
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
)

Paramètres

Notes

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.