Compartir a través de


RecalculateSpaceUsage Método

Updates the disk resource usage of the index.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Sub RecalculateSpaceUsage
'Uso
Dim instance As Index

instance.RecalculateSpaceUsage()
public void RecalculateSpaceUsage()
public:
void RecalculateSpaceUsage()
member RecalculateSpaceUsage : unit -> unit 
public function RecalculateSpaceUsage()

Notas

[!NOTA]

Indexes based on the UserDefinedTableType object cannot be modified and running this method will generate an exception.