TableViewBase.EnumFragmentation Method

Enumerates information about fragments of data that are stored in a table or view.

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

Syntax

'Declaration
Public Function EnumFragmentation As DataTable
'Usage
Dim instance As TableViewBase 
Dim returnValue As DataTable 

returnValue = instance.EnumFragmentation()
public DataTable EnumFragmentation()
public:
DataTable^ EnumFragmentation()
member EnumFragmentation : unit -> DataTable
public function EnumFragmentation() : DataTable

Return Value

Type: System.Data.DataTable
A DataTable system object value that contains a list of information about the fragmented data in the table or view.

Examples

Working with Database Objects

See Also

Reference

TableViewBase Class

EnumFragmentation Overload

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Tables

Views

CREATE TABLE (Transact-SQL)

CREATE VIEW (Transact-SQL)