Aracılığıyla paylaş


FileGroup.EnumObjects Method

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

'Bildirim
Public Function EnumObjects As SqlSmoObject()
'Kullanım
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[]

Return Value

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

Examples

Working with Database Objects

See Also

Reference

FileGroup Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Using Files and Filegroups

sys.objects (Transact-SQL)