Version

OlapDataSource Class Members

The following tables list the members exposed by OlapDataSource.

Protected Fields
 NameDescription
Protected FieldpendingChangespendingChanges  
Public Properties
 NameDescription
Public PropertyCubeReturns the currently selected Cube, or null if no cube is selected.  
Public PropertyDisplayNameReturns or sets a human-readable string which is displayed by user interface elements to identify this data source.  
Public PropertyHasPendingChangesReturns a boolean value indicating whether this data source has any changes pending.  
Public PropertyIsAsyncOperationPendingReturns boolean value indicating whether the data source is currently processing an asynchronous method call.  
Public PropertyIsInitializedReturns a boolean value indicating whether this OlapDataSource instance has been initialized.  
Public PropertyIsInitializingReturns boolean value indicating whether the data source is currently initializing.  
Public PropertyPendingChangesReturns a list of changes made to the data source since the last call to the UpdateAsync method.  
Public PropertyTimeoutSpecifies the amount of time for which an inactive asynchronous operation will wait before throwing an exception.  
Public Methods
 NameDescription
Public MethodAddFilterAsyncOverloaded. Sends an asynchronous request to the OLAP server to add the specified hierarchy to the filter axis.  
Public MethodAddFilterMemberAsyncOverloaded. Sends an asynchronous request to the OLAP server to add the specified member to the specified hierarchy's filter, and raises the AddFilterMemberAsyncCompleted event when the server sends the response.  
Public MethodAddMeasureAsyncOverloaded. Sends an asynchronous request to the OLAP server to add the specified measure to the 'slicer' axis.  
Public MethodAxisAddHierarchyAsyncOverloaded. Sends an asynchronous request to the OLAP server to add the specified hierarchy to the specified axis.  
Public MethodAxisInsertHierarchyAsyncOverloaded. Sends an asynchronous request to the OLAP server to insert the specified hierarchy at the specified ordinal position along the specified axis.  
Public MethodAxisRemoveHierarchyAsyncOverloaded. Sends an asynchronous request to the OLAP server to remove the specified hierarchy from the specified axis.  
Public MethodCancelUpdateCancels any currently executing asynchronous operation.  
Public MethodCollapseAxisTupleMemberAsyncSends an asynchronous request to the OLAP server to collapse the specified axis tuple member, and raises the CollapseAxisTupleMemberAsyncCompleted event when the server sends the response.  
Public MethodExpandAxisTupleMemberAsyncSends an asynchronous request to the OLAP server to expand the specified axis tuple member.  
Public MethodGetCubesAsyncSends an asynchronous request to the OLAP server to return a list of all cubes available under the currently selected catalog.  
Public MethodGetHierarchiesAsyncSends an asynchronous request to the OLAP server to return a list of all hierarchies available under the currently selected Cube.  
Public MethodGetHierarchyMembersAsyncSends a request to the OLAP server for a list of the members which belong to the specified Hierarchy, and raises the GetHierarchyMembersAsyncCompleted event when the server sends the response.  
Public MethodGetMeasuresAsyncSends an asynchronous request to the OLAP server to return a list of all measures available under the currently selected Cube.  
Public MethodInitializeAsyncSends a request to the OLAP server to initialize the data source, and raises the InitializeAsyncCompleted event when the server sends the response.  
Public MethodInsertFilterAsyncOverloaded. Sends an asynchronous request to the OLAP server to insert the specified hierarchy at the specified ordinal position within the filter axis.  
Public MethodInsertMeasureAsyncOverloaded. Sends an asynchronous request to the OLAP server to insert the specified measure at the specified ordinal position within the 'slicer' axis.  
Public MethodRemoveAllFilterMembersAsyncOverloaded. Sends an asynchronous request to the OLAP server to add the specified filter member, and raises the RemoveAllFilterMembersAsyncCompleted event when the server sends the response.  
Public MethodRemoveFilterAsyncOverloaded. Sends an asynchronous request to the OLAP server to remove the specified hierarchy from the filter axis.  
Public MethodRemoveFilterMemberAsyncOverloaded. Sends an asynchronous request to the OLAP server to remove the specified member to the specified hierarchy's filter, and raises the RemoveFilterMemberAsyncCompleted event when the server sends the response.  
Public MethodRemoveMeasureAsyncOverloaded. Sends an asynchronous request to the OLAP server to remove the specified measure from the 'slicer' axis.  
Public MethodSetCubeAsyncSends an asynchronous request to the OLAP server to set the specified cube as the data source's current cube.  
Public MethodTryGetHierarchyReturns a reference to the Hierarchy with the specified unique name.  
Public MethodTryGetMeasureReturns a reference to the Measure with the specified unique name.  
Public MethodTryGetMemberReturns a reference to the Member with the specified unique name, or null if the member does not exist.  
Public MethodUpdateAsyncUpdates the data source, applying all pending changes.  
Protected Methods
 NameDescription
Protected MethodOnBeforeInitializeAsyncCalled before the InitializeAsync method is executed.  
Protected MethodVerifyCancelVerifyCancel  
Protected MethodVerifyCanInitializeWhen overridden in derived class, provides a way to ensure that the data source is properly configured before allowing it to be initialized.  
Protected MethodVerifyCanSetCubeWhen overridden in derived class, provides a way to ensure that the data source supports setting the current data cube.  
Protected MethodVerifyMethodCallOKVerifyMethodCallOK  
Protected MethodVerifyTimeElapsedVerifyTimeElapsed  
Public Events
 NameDescription
Public EventAddFilterAsyncCompletedOccurs when the OLAP server responds to an asynchronous request to add a member to a hierarchy filter.  
Public EventAddFilterMemberAsyncCompletedOccurs when the OLAP server responds to an asynchronous request to add a member to a hierarchy filter.  
Public EventAddMeasureAsyncCompletedOccurs when the OLAP server responds to an asynchronous request to add a member to a hierarchy filter.  
Public EventAxisAddHierarchyAsyncCompletedOccurs when the OLAP server responds to an asynchronous request to add a hierarchy to the row or column axis.  
Public EventAxisRemoveHierarchyAsyncCompletedOccurs when the OLAP server responds to an asynchronous request to add a hierarchy to the row or column axis.  
Public EventCollapseAxisTupleMemberAsyncCompletedOccurs when the OLAP server responds to an asynchronous request to collapse an axis tuple member.  
Public EventDataSourceChangedOccurs when the data source changes.  
Public EventDataSourceChangingOccurs when a change is about to be made to the data source.  
Public EventDataSourceErrorOccurs when the OLAP server reports an error while processing a client request.  
Public EventExpandAxisTupleMemberAsyncCompletedOccurs when the OLAP server responds to an asynchronous request to expand an axis tuple member.  
Public EventGetCubesAsyncCompletedOccurs when the OLAP server responds to an asynchronous request for the list of all available cubes associated with the currently selected catalog.  
Public EventGetHierarchiesAsyncCompletedOccurs when the OLAP server responds to an asynchronous request for the list of the hierarchies associated with the currently selected cube.  
Public EventGetHierarchyMembersAsyncCompletedOccurs when the OLAP server responds to an asynchronous request for the list of members associated with a given hierarchy.  
Public EventGetMeasuresAsyncCompletedOccurs when the OLAP server responds to an asynchronous request for the list of the hierarchies associated with the currently selected cube.  
Public EventInitializeAsyncCompletedOccurs when the OLAP server responds to an asynchronous request to initialize the data source.  
Public EventRemoveAllFilterMembersAsyncCompletedOccurs when the OLAP server responds to an asynchronous request to remove a member from a hierarchy filter.  
Public EventRemoveFilterAsyncCompletedOccurs when the OLAP server responds to an asynchronous request to add a member to a hierarchy filter.  
Public EventRemoveFilterMemberAsyncCompletedOccurs when the OLAP server responds to an asynchronous request to remove a member from a hierarchy filter.  
Public EventRemoveMeasureAsyncCompletedOccurs when the OLAP server responds to an asynchronous request to add a member to a hierarchy filter.  
Public EventSetCubeAsyncCompletedOccurs when the OLAP server responds to an asynchronous request for the list of all available cubes associated with the currently selected catalog.  
Public EventUpdateAsyncCompletedOccurs when the OLAP server responds after a call to the UpdateAsync method.  
See Also