Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL-DMO & EventHandler
Message
De
04/02/2003 04:27:35
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00747580
Message ID:
00748765
Vues:
18
>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

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform