cDatabases and cLogFiles values in VSS_COMPONENTINFO got fromSQLServerWiter

  • Thread starter Thread starter wn123456@gmail.com
  • Start date Start date
W

wn123456@gmail.com

Guest
Hi,

In my VSS requestor code, I am interested in knowing the Database
files and log file volumes/files used by SQL database.

Currently, we are using method, IVssWMComponent::GetComponentInfo to
get the information about the SQL database component.
But what we are seeing is cDatabases and cLogFiles values in
VSS_COMPONENTINFO are zero.
With these values being zero we are not calling methods,
IVssWMComponent::GetDatabaseFile or
IVssWMComponent::GetDatabaseLogFile

With cFileCount I am able to get the list all all the files but not
getting which are for database and which are for logs.
And with SQL Server 2008, do not know which are for FileStream ?

Is there a way to know the database files and log files using VSS
interfaces ?
Is there some other way to know the these files ?

Thanks,
WN
 
Back
Top