OrganizerDefn Class Methods
The following section discusses the OrganizerDefn class methods. The methods are discussed in alphabetical order.
Syntax
AttachPart(PartName, PartType)
Description
Use the AttachPart method to attach the part specified by PartName to the organizer. The part must exist in the analytic model.
Parameters
Field or Control |
Definition |
---|---|
PartName |
Specify the name of the part that you want to attach. |
PartType |
Specify the type of part that you want to attach. Values are: |
Value |
Description |
---|---|
AnalyticModel_Dimension |
Attach a dimension. |
AnalyticModel_Cube |
Attach a cube. |
AnalyticModel_ CubeCollection |
Attach a cube collection. |
AnalyticModel_UserFunction |
Attach a user function. |
Returns
None.
Syntax
DetachPart(PartName, PartType)
Description
Use the DetachPart method to detach the part specified by PartName from the organizer.
Parameters
Field or Control |
Definition |
---|---|
PartName |
Specify the name of the part that you want to detach. |
PartType |
Specify the type of the part that you want to detach. Valid values are: |
Value |
Description |
---|---|
AnalyticModel_Dimension |
Detach a dimension. |
AnalyticModel_Cube |
Detach a cube. |
AnalyticModel_ CubeCollection |
Detach a cube collection. |
AnalyticModel_UserFunction |
Detach a user function. |
Returns
None.
Syntax
GetPartNames()
Description
Use the GetPartNames method to return a list of the names of the parts used by the organizer. The names are returned as an array of string.
Parameters
None.
Returns
An array of string.
Syntax
UsesPart(PartName, PartType)
Description
Use the UsesPart method to determine if the organizer uses the part specified by PartName.
Parameters
Field or Control |
Definition |
---|---|
PartName |
Specify the name of the part that you want to verify. |
PartType |
Specify the type of the part that you want to verify. Valid values are: |
Value |
Description |
---|---|
AnalyticModel_Dimension |
A dimension. |
AnalyticModel_Cube |
A cube. |
AnalyticModel_ CubeCollection |
A cube collection. |
AnalyticModel_UserFunction |
A user function. |
Returns
A Boolean value: true if the part is associated with the organizer, false otherwise.