FILEGROUPPROPERTY
catalog lookup
What changes
- Input
- catalog metadata (object, column, index, file, database properties)
- Output or change
- id, name or property value
- Return type
- int
Syntax at a glance
FILEGROUPPROPERTY ( filegroup_name , property )
Work example
Read a documented property for a filegroup in a database.
Use schema-qualified names and test missing and permission-hidden objects separately.
Check your work Check database context and filegroup visibility before interpreting the result.
Open Microsoft Learn for full syntax, permissions, and details for your version.