Subject | Re: [IBO] Manually run a sweep |
---|---|
Author | Robert Martin |
Post date | 2016-04-05T23:22:48Z |
Hi All
Just to answer my own question I did the following which I believe does
what I want :)
with IBOValidationService do begin
ServerName := aIBODatabase.Server;
Protocol := aIBODatabase.Protocol;
DatabaseName := aIBODatabase.Path;
LoginPrompt := False;
Params.Clear;
Params.Add('user_name=' + aIBODatabase.Username);
Params.Add('password=' + aIBODatabase.Password);
Options := [SweepDB];
Active := True;
ServiceStart;
Active := False;
end;
Just to answer my own question I did the following which I believe does
what I want :)
with IBOValidationService do begin
ServerName := aIBODatabase.Server;
Protocol := aIBODatabase.Protocol;
DatabaseName := aIBODatabase.Path;
LoginPrompt := False;
Params.Clear;
Params.Add('user_name=' + aIBODatabase.Username);
Params.Add('password=' + aIBODatabase.Password);
Options := [SweepDB];
Active := True;
ServiceStart;
Active := False;
end;
On 6/04/2016 9:49 a.m., Robert Martin rob@... [IBObjects] wrote:
> Hi
>
> Can someone point me to which component and code to use to manually
> trigger a database sweep?
>
> Thanks
> Rob
>
>
>