Data files from Database Object


the database object contains member 'get_logfiles' returns nice collection of database's logfiles. can't seem find comparable member return collection of datafiles. if can point me in right direction, grateful

that's because log files not reside in filegroups.

check out filegroup property, contains collection of data files.

 

 

wesleyb

visit sql server weblog @ http://dis4ea.blogspot.com



SQL Server  >  SQL Server SMO/DMO



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........