Freigeben über


FileGroup.EnumObjects-Methode

Enumerates the system and user-defined tables, indexes, and statistics mechanisms stored within a file group.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Function EnumObjects As SqlSmoObject()
'Usage
Dim instance As FileGroup 
Dim returnValue As SqlSmoObject()

returnValue = instance.EnumObjects()
public SqlSmoObject[] EnumObjects()
public:
array<SqlSmoObject^>^ EnumObjects()
member EnumObjects : unit -> SqlSmoObject[] 
public function EnumObjects() : SqlSmoObject[]

Rückgabewert

Typ: array<Microsoft.SqlServer.Management.Smo.SqlSmoObject[]
A SqlSmoObject object array that contains all the objects within the file group.

Beispiele

Arbeiten mit Datenbankobjekten

Siehe auch

Verweis

FileGroup Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Verwenden von Dateien und Dateigruppen

sys.objects (Transact-SQL)