Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL-DMO & EventHandler
Message
From
04/02/2003 04:27:35
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00747580
Message ID:
00748765
Views:
16
>You can schedule back-ups and other maintenance stuff in SQL Server using Jobs. Just setup it up for as many full or incremental backups you want each day, then forget it.
>
>Charlie

This is the answer:

> Hi, José!
> You wrote on Mon, 3 Feb 2003 04:33:07 -0800:
>
> JL> I´m trying to do a Backup not attended.
>
> JL> I have this class:
>
> [Sorry, skipped]
>
> JL> What is wrong in this code.
>
> I don't see anything wrong with your code, but when I examined
SQLDMO.Backup
> in Object Browser, I see that this interface BackupSink wasn't based on
> IDispatch interface, so I think you can't use late binding for this
> interface.
>
> From SQL Server 2000 BOL:
> =========Beginning of the citation==============
> Event handling is not supported when a SQL-DMO object is created using the
> CreateObject function. Your OLE Automation controller may impose similar
> restrictions.
>
> =========The end of the citation================
>
> Maybe VFP has this limitation...
>
> WBR, Igor

Quidquid latine dictum sit, altum sonatur

Previous
Reply
Map
View

Click here to load this message in the networking platform