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.