Sdílet prostřednictvím


DimensionCollection.AddNew Method

Definition

Overloads

AddNew(String)

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

AddNew(String, String)

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

AddNew(String)

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

public Microsoft.AnalysisServices.Dimension AddNew (string key);
override this.AddNew : string -> Microsoft.AnalysisServices.Dimension
Public Function AddNew (key As String) As Dimension

Parameters

key
String

The key of the Dimension to be added.

Returns

The newly created Dimension object.

Applies to

AddNew(String, String)

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

public Microsoft.AnalysisServices.Dimension AddNew (string name, string key);
override this.AddNew : string * string -> Microsoft.AnalysisServices.Dimension
Public Function AddNew (name As String, key As String) As Dimension

Parameters

name
String

The name of the Dimension to be added.

key
String

The key of the Dimension to be added.

Returns

The newly created Dimension object.

Applies to