Метод CubeDimensionCollection.Add (String, String, String)
Creates and adds a CubeDimension, with the specified name and identifier, to the end of the collection.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public Function Add ( _
dimensionId As String, _
name As String, _
id As String _
) As CubeDimension
'Применение
Dim instance As CubeDimensionCollection
Dim dimensionId As String
Dim name As String
Dim id As String
Dim returnValue As CubeDimension
returnValue = instance.Add(dimensionId, _
name, id)
public CubeDimension Add(
string dimensionId,
string name,
string id
)
public:
CubeDimension^ Add(
String^ dimensionId,
String^ name,
String^ id
)
member Add :
dimensionId:string *
name:string *
id:string -> CubeDimension
public function Add(
dimensionId : String,
name : String,
id : String
) : CubeDimension
Параметры
- dimensionId
Тип: System.String
The identifier of the Dimension to be added.
- name
Тип: System.String
The name of the CubeDimension to be added.
- id
Тип: System.String
The identifier of the CubeDimension to be added.
Возвращаемое значение
Тип: Microsoft.AnalysisServices.CubeDimension
The CubeDimension that has been added.