Apr 20, 2012 at 5:32 PM
Edited Apr 20, 2012 at 5:33 PM
Nice formatting! I guess everything is source-code to a true developer! ;)
Anyway, the sample applications included in the source code should provide details on how everything is used.
Now there is a synchronous version of GatherWriterMetadata(), meaning to replicate what you did before, i.e. call the method and wait for it to complete you simply call the method:
It will not return until the operation is completed.
If you need asynchronous behavior, you would use the BeginGatherWriterMetadata() and EndGatherWriterMetadata() pair of methods, for example like:
IAsyncResult ar = backup.BeginGatherWriterMetadata(null, null);
(Sorry for the C# in this example, but I'm not a VB programmer).
For more information about this standard .NET pattern, see
Hope this helps...