Condividi tramite


TableViewBase.EnumFragmentation Method (FragmentationOption, Int32)

Enumerates information about fragments of data stored in a table or view on a specified partition and with the option to specify how detailed to make the results returned.

Spazio dei nomi: Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintassi

'Dichiarazione
Public Function EnumFragmentation ( _
    fragmentationOption As FragmentationOption, _
    partitionNumber As Integer _
) As DataTable
public DataTable EnumFragmentation (
    FragmentationOption fragmentationOption,
    int partitionNumber
)
public:
DataTable^ EnumFragmentation (
    FragmentationOption fragmentationOption, 
    int partitionNumber
)
public DataTable EnumFragmentation (
    FragmentationOption fragmentationOption, 
    int partitionNumber
)
public function EnumFragmentation (
    fragmentationOption : FragmentationOption, 
    partitionNumber : int
) : DataTable

Parametri

  • fragmentationOption
    A FragmentationOption object value that specifies the level of detail returned in the results.
  • partitionNumber
    An Int32 value that specifies the partition.

Valore restituito

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

Osservazioni

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Esempio

How to: Create, Alter, and Remove a Table in Visual Basic .NET

How to: Create, Alter, and Remove a View in Visual Basic .NET

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

TableViewBase Class
TableViewBase Members
Microsoft.SqlServer.Management.Smo Namespace

Altre risorse

Working with Database Objects
Tabelle
Viste (Motore di database)
CREATE TABLE (Transact-SQL)
CREATE VIEW (Transact-SQL)