Add Method (String, String)
Collapse the table of content
Expand the table of content

LevelCollection.Add Method (String, String)


Updated: May 16, 2016

Creates and adds a Level, with the specified name and identifier, to the end of the collection.

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

public Level Add(
	string name,
	string id


Type: System.String

The name of the Level to be added.

Type: System.String

The identifier of the Level to be added.

Return Value

Type: Microsoft.AnalysisServices.Level

The zero-based index at which the Level has been added.

Return to top
© 2016 Microsoft