Re: Smo.Database - Set the path of thefiles



To get to the files, go through the FileGroups for the
Database object.
I haven't tested it myself but found the following article
which has a link doing something similar...it's just
creating a snapshot instead.
http://sqljunkies.com/WebLog/marathonsqlguy/archive/2006/05/17/21039.aspx

-Sue

On Fri, 16 Mar 2007 11:20:00 -0700, "Hey it's Filippo"
<pandiani69@xxxxxxxxxxx> wrote:

Hi there,
When I use Smo.Database and create a new Database, can I set the path of the
MDF file?

Filippo


.