CubeCollection.AddNew Method (String, String)

 

Updated: May 24, 2016

Creates and adds a Cube, with the specified name and key, to the end of the collection.

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

[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, 
	PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736AD6E5F9586BAC2D531EABC3ACC666C2F8EC879FA94F8F7B0327D2FF2ED523448F83C3D5C5DD2DFC7BC99C5286B2C125117BF5CBE242B9D41750732B2BDFFE649C6EFB8E5526D526FDD130095ECDB7BF210809C6CDAD8824FAA9AC0310AC3CBA2AA0523567B2DFA7FE250B30FACBD62D4EC99B94AC47C7D3B28F1F6E4C8")]
public Cube AddNew(
	string name,
	string key
)

Parameters

name
Type: System.String

The name of the Cube to be added.

key
Type: System.String

The key of the Cube to be added.

Return Value

Type: Microsoft.AnalysisServices.Cube

A new, empty Cube.

Return to top
Show: