
Sample DM Provider's UI problem: Progress
I think I misunderstood your earlier question: I believe you were asking
about reporting progress in the Analysis Manager UI for your aggregated
provider. Analysis Services 2000 (SP1) doesn't currently support reporting
progress notifications from third-party providers. We might have support for
that in a future release - I will post that information when it becomes
available.
By the way, the sample provider should already have an implementation of
IDBAsynchStatus on the result object returned by the command for
asynchronous execution (see SPCommand::ExecuteCommand). This should still be
usable when the provider is used directly by the end user.
-Raman
--
Please do not send email directly to this alias. This alias is for newsgroup
purposes and is intended to prevent automated spam. I've been "encouraged"
to share this helpful information from our lawyers. This posting is provided
"AS IS" with no warranties, and confers no rights. You assume all risk for
your use. ? 2001 Microsoft Corporation. All rights reserved.
Quote:
> James,
> You need to implement the IDBAsynchStatus interface on your result object
> i.e. the user will QI for IDBAsynchStatus when they Execute a training
> statement, and then call methods to get status that they use to update a
> progress UI.
> Optionally, you can also support a connection point for IDBAsynchNotify.
> This is a callback mechanism where the user supplies a sink for this
> interface and you call back periodically from the provider with status
> updates.
> Both these interfaces are standard OLE DB ones that you should be able
find
> documentation for on MSDN.
> -Raman
> > Dear Jamie & Zhaohui:
> > I am working on the sample DM provider now. Here is a problem. When the
> > provider is computing, I want to display progress info to end user, but
I
> > have not figured out how to do that. Can you give me some guide?
> > Is it related to ConnectionPoint? Then is that IDBAsynchNotify or
> > IDMAsynchNotify or some Remote versions?
> > Thanks
> > James