Partager via


EnumObjects méthode

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Function EnumObjects As SqlSmoObject()
'Utilisation
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[]

Valeur de retour

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