IS it possible use SMO to manage SQL Server using VBScript?

Thanks,

Felipe

Re: SQL Server Management by hb21l6

hb21l6
Tue Jul 08 03:05:22 CDT 2008


"Carlos Felipe França da Fonseca" <carlosfelipefranca@gmail.com> wrote in
message news:%23G7ELq63IHA.3576@TK2MSFTNGP06.phx.gbl...
> IS it possible use SMO to manage SQL Server using VBScript?
>
> Thanks,
>
> Felipe
>
>
Yes, I think you can, but they will have to be executed from the SQL server
to be able to use the object.



Re: SQL Server Management by Carlos

Carlos
Tue Aug 12 18:56:56 CDT 2008

I figured it out.
VBScript does not support SMO (SQL Server Management Objects) because ít's
.Net Framework-based.
We need to use PowerShell.

Regards,

Felipe

"Carlos Felipe França da Fonseca" <carlosfelipefranca@gmail.com> wrote in
message news:%23G7ELq63IHA.3576@TK2MSFTNGP06.phx.gbl...
> IS it possible use SMO to manage SQL Server using VBScript?
>
> Thanks,
>
> Felipe
>