Partager via


Méthode FileGroup.EnumObjects

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 (en 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.

Exemples

Utilisation des objets de base de données

Voir aussi

Référence

FileGroup Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Utilisation des fichiers et des groupes de fichiers

sys.objects (Transact-SQL)