EnumFiles Method (FileGroup) (SQL-DMO)

The EnumFiles method returns a QueryResults object enumerating the operating system files used to implement Microsoft® SQL Server™ database storage.

Applies To

FileGroup Object

Syntax

object.EnumFiles() as QueryResults

Part Description
object Expression that evaluates to an object in the Applies To list

Returns

A QueryResults object containing one result set defined by this column.

Column Data type Description
name nchar(129) Logical name of the operating system file

Prototype (C/C++)

HRESULT EnumFiles(
LPSQLDMOQUERYRESULTS* ppResults);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.