c# - How to Get Corresponding datafile path if i pass datafile name -


How to obtain the enumfiles method in SMO in SMO

This means that if I pass the master data I am; Es to one method will return the corresponding datafile path and logfile path. Is there any such method in SMO ??

For East: In DMO Enumphile (Master), then it will return the Coal Core Filpatra.

You can use the

Server Database FileGroups Files Storage like this:

  Public Zero GetFileNames (string servername, string databasename) {server s = new server (servername); Foreign exchange (file database in SG database [database] .filegroup) {foreach (fg.files in datafile df) console WrightLine (df.FileName); }}  

Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -