Delen via


Cube Constructor (String, String)

Initializes a new instance of the Cube class, using a name and an identifier.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    id As String _
)
'Usage
Dim name As String
Dim id As String

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

Parameters

  • name
    Type: System.String
    A String that contains the name of the cube.
  • id
    Type: System.String
    A String that contains a unique identifier for the cube.